public class XRefFallbackParser extends AbstractXRefParser
A simple xref rebuilding parser.
The parser reads lines in the document and looks if the line begins with a object definition, which looks like: number number "obj". Every object definition found is added as a XRefEntry to the STDocument.
False object definitions can be read and they can cause a problem, if a real object with the same object number is read after the false one. On the other side: the document was already broke before this parser was called.
| Constructor and Description |
|---|
XRefFallbackParser(STDocument doc,
COSDocumentParser parser) |
| Modifier and Type | Method and Description |
|---|---|
STXRefSection |
parse(de.intarsys.tools.randomaccess.IRandomAccess input)
Parser the
STXRefSection from the randomAccess. |
public XRefFallbackParser(STDocument doc, COSDocumentParser parser)
public STXRefSection parse(de.intarsys.tools.randomaccess.IRandomAccess input) throws IOException, COSLoadException
AbstractXRefParserSTXRefSection from the randomAccess.parse in class AbstractXRefParserSTXRefSectionIOExceptionCOSLoadExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.