Package com.pd4ml.pdf.cos.parser
Class COSLexer
- java.lang.Object
-
- com.pd4ml.pdf.cos.parser.COSLexer
-
public final class COSLexer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description COSLexer(byte[] data)COSLexer(RandomAccessBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomAccessBuffergetBuffer()TokennextToken()Reads and returns the next token, or anEOFtoken at end of input.intposition()voidseek(long position)voidskipWhitespaceAndComments()
-
-
-
Constructor Detail
-
COSLexer
public COSLexer(RandomAccessBuffer buffer)
-
COSLexer
public COSLexer(byte[] data)
-
-
Method Detail
-
getBuffer
public RandomAccessBuffer getBuffer()
-
position
public int position()
-
seek
public void seek(long position)
-
skipWhitespaceAndComments
public void skipWhitespaceAndComments()
-
nextToken
public Token nextToken()
Reads and returns the next token, or anEOFtoken at end of input.
-
-