public class PDFXrefStreamParser extends BaseParser
DEF, document, ENDOBJ, ENDSTREAM, FORCE_PARSING, forceParsing, pdfSource| Constructor and Description |
|---|
PDFXrefStreamParser(COSStream strm,
COSDocument doc,
boolean forceParsing,
XrefTrailerResolver xrefTrailerResolver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse()
Parses through the unfiltered stream and populates the xrefTable HashMap.
|
isClosing, isClosing, isEndOfName, isEOL, isEOL, isWhitespace, isWhitespace, parseBoolean, parseCOSArray, parseCOSDictionary, parseCOSName, parseCOSStream, parseCOSString, parseDirObject, readExpectedString, readInt, readLine, readString, readString, setDocument, skipSpacespublic PDFXrefStreamParser(COSStream strm, COSDocument doc, boolean forceParsing, XrefTrailerResolver xrefTrailerResolver) throws IOException
strm - The stream to parse.doc - The document for the current parsing.forceParcing - flag to skip malformed or otherwise unparseable
input where possiblexrefTrailerResolver - 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-2012 Apache Software Foundation. All Rights Reserved.