|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.pdfbox.pdfparser.BaseParser
This class is used to contain parsing logic that will be used by both the PDFParser and the COSStreamParser.
| Field Summary | |
static String |
DEF
This is a byte array that will be used for comparisons. |
static byte[] |
ENDSTREAM
This is a byte array that will be used for comparisons. |
| Constructor Summary | |
BaseParser(InputStream input)
Constructor. |
|
| Method Summary | |
void |
addXref(PDFXref xref)
This will add an xref. |
List |
getXrefs()
This will get all of the xrefs. |
void |
setDocument(COSDocument doc)
Set the document for this stream. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte[] ENDSTREAM
public static final String DEF
| Constructor Detail |
public BaseParser(InputStream input)
throws IOException
input - The input stream to read the data from.
IOException - If there is an error reading the input stream.| Method Detail |
public void setDocument(COSDocument doc)
doc - The current document.public void addXref(PDFXref xref)
xref - The xref to add.public List getXrefs()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||