Top Description Classes
module org.apache.pdfbox

Package org.apache.pdfbox.pdfparser


The pdfparser package contains classes to parse PDF documents and objects within the document.

Class Summary

Modifier and TypeClass and Description
public abstract class
BaseParser

This class is used to contain parsing logic that will be used by all parsers.

public class
BruteForceParser

Brute force parser to be used as last resort if a malformed pdf can't be read.

public class
COSParser

COS-Parser which first reads startxref and xref tables in order to know valid objects and parse only these objects.

pack-priv class
EndstreamFilterStream

This class is only for the readUntilEndStream method, to prevent a final CR LF or LF (but not a final CR!) from being written to the output, unless the beginning of the stream is assumed to be ASCII.

public class
public class
PDFObjectStreamParser

This will parse a PDF 1.5 object stream and extract the object with given object number from the stream.

public class
public class
PDFStreamParser

This will parse a PDF byte stream and extract operands and such.

public class
public class
PDFXrefStreamParser

This will parse a PDF 1.5 (or better) Xref stream and extract the xref information from the stream.

public class
XrefTrailerResolver

This class will collect all XRef/trailer objects and creates correct xref/trailer information after all objects are read using startxref and 'Prev' information (unused XRef/trailer objects are discarded).