|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.util.parsers.PostScriptParser org.pdfclown.tokens.BaseParser org.pdfclown.tokens.FileParser
public final class FileParser
PDF file parser [PDF:1.7:3.2,3.4].
Nested Class Summary | |
---|---|
class |
FileParser.Reference
|
Nested classes/interfaces inherited from class org.pdfclown.util.parsers.PostScriptParser |
---|
PostScriptParser.TokenTypeEnum |
Method Summary | |
---|---|
File |
getFile()
|
boolean |
moveNext()
Moves the pointer to the next token. |
PdfDataObject |
parsePdfObject()
Parses the current PDF object [PDF:1.6:3.2]. |
String |
retrieveVersion()
Retrieves the PDF version of the file [PDF:1.6:3.4.1]. |
long |
retrieveXRefOffset()
Retrieves the starting position of the last xref-table section [PDF:1.6:3.4.4]. |
Methods inherited from class org.pdfclown.tokens.BaseParser |
---|
parsePdfObject |
Methods inherited from class org.pdfclown.util.parsers.PostScriptParser |
---|
close, finalize, getHex, getLength, getPosition, getStream, getToken, getToken, getTokenType, hashCode, isDelimiter, isEOL, isWhitespace, moveNext, seek, setToken, setTokenType, skip, skipEOL, skipWhitespace |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public File getFile()
public boolean moveNext()
PostScriptParser
To properly parse the current token, the pointer MUST be just before its starting (leading whitespaces are ignored). When this method terminates, the pointer IS at the last byte of the current token.
moveNext
in class BaseParser
public PdfDataObject parsePdfObject()
BaseParser
parsePdfObject
in class BaseParser
public String retrieveVersion()
public long retrieveXRefOffset()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |