public class PDFObjectStreamParser extends BaseParser
A, ASCII_CR, ASCII_LF, B, D, DEF, document, E, ENDOBJ_STRING, ENDSTREAM_STRING, J, M, N, O, R, S, seqSource, STREAM_STRING, T
Constructor | Description |
---|---|
PDFObjectStreamParser(COSStream stream,
COSDocument document) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<COSObject> |
getObjects() |
This will get the objects that were parsed from the stream.
|
void |
parse() |
This will parse the tokens in the stream.
|
isClosing, isClosing, isDigit, isDigit, isEndOfName, isEOL, isEOL, isSpace, isSpace, isWhitespace, isWhitespace, parseBoolean, parseCOSArray, parseCOSDictionary, parseCOSName, parseCOSString, parseDirObject, readExpectedChar, readExpectedString, readExpectedString, readGenerationNumber, readInt, readLine, readLong, readObjectNumber, readString, readString, readStringNumber, skipSpaces, skipWhiteSpaces
public PDFObjectStreamParser(COSStream stream, COSDocument document) throws java.io.IOException
stream
- The stream to parse.document
- The document for the current parsing.java.io.IOException
- If there is an error initializing the stream.public void parse() throws java.io.IOException
java.io.IOException
- If there is an error while parsing the stream.public java.util.List<COSObject> getObjects()
Copyright © 2002–2018. All rights reserved.