public class FDFParser extends COSParser
EOF_MARKER, fileLen, initialParseDone, OBJ_MARKER, securityHandler, SYSPROP_EOFLOOKUPRANGE, xrefTrailerResolverA, ASCII_CR, ASCII_LF, B, D, DEF, document, E, ENDOBJ_STRING, ENDSTREAM_STRING, J, M, N, O, R, S, source, STREAM_STRING, T| Constructor and Description |
|---|
FDFParser(org.apache.pdfbox.io.RandomAccessRead source)
Constructs parser for given file using memory buffer.
|
| Modifier and Type | Method and Description |
|---|---|
FDFDocument |
parse()
This will parse the stream and populate the FDFDocument object.
|
checkPages, createRandomAccessReadView, dereferenceCOSObject, getAccessPermission, getEncryption, isLenient, isString, lastIndexOf, parseCOSStream, parseFDFHeader, parseObjectDynamically, parseObjectStreamObject, parsePDFHeader, parseXrefTable, prepareDecryption, resetTrailerResolver, retrieveTrailer, setEOFLookupRange, setLenientgetObjectKey, isClosing, isClosing, isDigit, isDigit, isEndOfName, isEOF, isEOL, isEOL, isSpace, isSpace, isWhitespace, isWhitespace, parseCOSArray, parseCOSDictionary, parseCOSName, parseCOSString, parseDirObject, readExpectedChar, readExpectedString, readGenerationNumber, readInt, readLine, readLong, readObjectNumber, readString, readString, readStringNumber, skipSpaces, skipWhiteSpacespublic FDFParser(org.apache.pdfbox.io.RandomAccessRead source)
throws IOException
source - the source of the pdf to be parsedIOException - If something went wrong.public FDFDocument parse() throws IOException
IOException - If there is an error reading from the stream or corrupt data is found.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.