org.pdfbox.pdfparser
Class PDFObjectStreamParser
public class PDFObjectStreamParser
This will parse a PDF 1.5 object stream and extract all of the objects from the stream.
List | getObjects() - This will get the objects that were parsed from the stream.
|
void | parse() - This will parse the tokens in the stream.
|
addXref , getXrefs , isClosing , isClosing , isEOL , isEOL , isEndOfName , isWhitespace , isWhitespace , parseBoolean , parseCOSArray , parseCOSDictionary , parseCOSName , parseCOSStream , parseCOSString , parseDirObject , readExpectedString , readInt , readLine , readString , readString , setDocument , skipSpaces |
PDFObjectStreamParser
public PDFObjectStreamParser(COSStream strm,
COSDocument doc)
throws IOException
Constructor.
strm
- The stream to parse.doc
- The document for the current parsing.
getObjects
public List getObjects()
This will get the objects that were parsed from the stream.
- All of the objects in the stream.
parse
public void parse()
throws IOException
This will parse the tokens in the stream. This will close the
stream when it is finished parsing.