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 and Description |
---|
PDFObjectStreamParser(COSStream stream,
COSDocument document)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 IOException
stream
- The stream to parse.document
- The document for the current parsing.IOException
- If there is an error initializing the stream.public void parse() throws IOException
IOException
- If there is an error while parsing the stream.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.