/** * Constructs parser for given file using given buffer for temporary * storage. * * @param file the pdf to be parsed * * @throws IOException If something went wrong. */ public FDFParser(File file) throws IOException { super(new RandomAccessFile(file, "r")); fileLen = file.length(); init(); }
/** * Constructor. * * @param input input stream representing the pdf. * @throws IOException If something went wrong. */ public FDFParser(InputStream input) throws IOException { super(new RandomAccessBuffer(input)); fileLen = source.length(); init(); }
/** * Constructs parser for given file using given buffer for temporary * storage. * * @param file the pdf to be parsed * * @throws IOException If something went wrong. */ public FDFParser(File file) throws IOException { super(new RandomAccessFile(file, "r")); fileLen = file.length(); init(); }
/** * Constructs parser for given file using given buffer for temporary * storage. * * @param file the pdf to be parsed * * @throws IOException If something went wrong. */ public FDFParser(File file) throws IOException { super(new RandomAccessFile(file, "r")); fileLen = file.length(); init(); }
/** * Constructor. * * @param input input stream representing the pdf. * @throws IOException If something went wrong. */ public FDFParser(InputStream input) throws IOException { super(new RandomAccessBuffer(input)); fileLen = source.length(); init(); }
/** * Constructor. * * @param input input stream representing the pdf. * @throws IOException If something went wrong. */ public FDFParser(InputStream input) throws IOException { super(new RandomAccessBuffer(input)); fileLen = source.length(); init(); }