public class PDFXrefStreamParser extends BaseParser
DEF, document, ENDOBJ, ENDSTREAM, forceParsing, pdfSource, PROP_PUSHBACK_SIZE| Constructor | Description |
|---|---|
PDFXrefStreamParser(COSStream strm,
COSDocument doc,
boolean forceParsing,
XrefTrailerResolver resolver) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
parse() |
Parses through the unfiltered stream and populates the xrefTable HashMap.
|
clearResources, isClosing, isClosing, isEndOfName, isEOL, isEOL, isWhitespace, isWhitespace, parseBoolean, parseCOSArray, parseCOSDictionary, parseCOSName, parseCOSStream, parseCOSString, parseCOSString, parseDirObject, readExpectedString, readGenerationNumber, readInt, readLine, readLong, readObjectNumber, readString, readString, readStringNumber, readUntilEndStream, setDocument, skipSpacespublic PDFXrefStreamParser(COSStream strm, COSDocument doc, boolean forceParsing, XrefTrailerResolver resolver) throws java.io.IOException
strm - The stream to parse.doc - The document for the current parsing.forceParsing - flag to skip malformed or otherwise unparseable
input where possibleresolver - resolver to read the xref/trailer informationjava.io.IOException - If there is an error initializing the stream.