Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdfparser » [javadoc | source]
org.apache.pdfbox.pdfparser
public class: PDFObjectStreamParser [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdfparser.BaseParser
      org.apache.pdfbox.pdfparser.PDFObjectStreamParser
This will parse a PDF 1.5 object stream and extract all of the objects from the stream.
Fields inherited from org.apache.pdfbox.pdfparser.BaseParser:
ENDSTREAM,  ENDOBJ,  DEF,  pdfSource,  document
Constructor:
 public PDFObjectStreamParser(COSStream strm,
    COSDocument doc) throws IOException 
    Constructor.
    Parameters:
    strm - The stream to parse.
    doc - The document for the current parsing.
    Throws:
    IOException - If there is an error initializing the stream.
Method from org.apache.pdfbox.pdfparser.PDFObjectStreamParser Summary:
getObjects,   parse
Methods from org.apache.pdfbox.pdfparser.BaseParser:
isClosing,   isClosing,   isEOL,   isEOL,   isEndOfName,   isWhitespace,   isWhitespace,   parseBoolean,   parseCOSArray,   parseCOSDictionary,   parseCOSName,   parseCOSStream,   parseCOSString,   parseDirObject,   readExpectedString,   readInt,   readLine,   readString,   readString,   setDocument,   skipSpaces
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdfparser.PDFObjectStreamParser Detail:
 public List<COSObject> getObjects() 
    This will get the objects that were parsed from the stream.
 public  void parse() throws IOException 
    This will parse the tokens in the stream. This will close the stream when it is finished parsing.