public class PDFXrefStreamParser 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 |
---|
PDFXrefStreamParser(COSStream stream,
COSDocument document,
XrefTrailerResolver resolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
parse()
Parses through the unfiltered stream and populates the xrefTable HashMap.
|
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 PDFXrefStreamParser(COSStream stream, COSDocument document, XrefTrailerResolver resolver) throws IOException
stream
- The stream to parse.document
- The document for the current parsing.resolver
- resolver to read the xref/trailer informationIOException
- 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.