Class FDFParser

All Implemented Interfaces:
ICOSParser

public class FDFParser extends COSParser
  • Constructor Details

    • FDFParser

      public FDFParser(org.apache.pdfbox.io.RandomAccessRead source) throws IOException
      Constructs parser for given file using memory buffer.
      Parameters:
      source - the source of the pdf to be parsed
      Throws:
      IOException - If something went wrong.
  • Method Details

    • parse

      public FDFDocument parse() throws IOException
      This will parse the stream and populate the FDFDocument object.
      Returns:
      the parsed FDFDocument
      Throws:
      IOException - If there is an error reading from the stream or corrupt data is found.