|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdfparser.BaseParser
org.pdfbox.pdfparser.PDFObjectStreamParser
public class PDFObjectStreamParser
This will parse a PDF 1.5 object stream and extract all of the objects from the stream.
Field Summary |
---|
Fields inherited from class org.pdfbox.pdfparser.BaseParser |
---|
DEF, ENDSTREAM, pdfSource |
Constructor Summary | |
---|---|
PDFObjectStreamParser(COSStream strm,
COSDocument doc)
Constructor. |
Method Summary | |
---|---|
java.util.List |
getObjects()
This will get the objects that were parsed from the stream. |
void |
parse()
This will parse the tokens in the stream. |
Methods inherited from class org.pdfbox.pdfparser.BaseParser |
---|
addXref, getXrefs, isClosing, isClosing, isEndOfName, isEOL, isEOL, isWhitespace, isWhitespace, parseBoolean, parseCOSArray, parseCOSDictionary, parseCOSName, parseCOSStream, parseCOSString, parseDirObject, readExpectedString, readInt, readLine, readString, readString, setDocument, skipSpaces |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFObjectStreamParser(COSStream strm, COSDocument doc) throws java.io.IOException
strm
- The stream to parse.doc
- The document for the current parsing.
java.io.IOException
- If there is an error initializing the stream.Method Detail |
---|
public void parse() throws java.io.IOException
java.io.IOException
- If there is an error while parsing the stream.public java.util.List getObjects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |