Package org.verapdf.parser
Class PDFParser
java.lang.Object
org.verapdf.parser.BaseParser
org.verapdf.parser.COSParser
org.verapdf.parser.PDFParser
- Author:
- Timur Kamalov
-
Field Summary
Fields inherited from class org.verapdf.parser.COSParser
document, flag, integers, keyOfCurrentObject, LINEARIZATION_DICTIONARY_LOOKUP_SIZE, objectsFields inherited from class org.verapdf.parser.BaseParser
source -
Constructor Summary
ConstructorsConstructorDescriptionPDFParser(InputStream fileStream) PDFParser(COSDocument document, InputStream fileStream) PDFParser(COSDocument document, String filename) -
Method Summary
Modifier and TypeMethodDescriptiongetObject(long offset) voidgetXRefInfo(List<COSXRefInfo> infos) booleanbooleanprotected voidparseXrefTable(COSXRefSection xrefs) Methods inherited from class org.verapdf.parser.COSParser
getArray, getDictionary, getDocument, getName, getStream, nextObjectMethods inherited from class org.verapdf.parser.BaseParser
appendToToken, clearToken, closeInputStream, findKeyword, findKeyword, getLine, getLine, getLineBytes, getRandomAccess, getRawBytes, getToken, initializeToken, isCR, isDigit, isDigit, isEOL, isFF, isHexDigit, isLF, isNextByteEOL, nextLine, nextToken, readName, readNumber, readUntilDelimiter, skipExpectedCharacter, skipSingleEol, skipSingleSpace, skipSingleSpace, skipSpaces, skipSpaces
-
Constructor Details
-
PDFParser
- Throws:
IOException
-
PDFParser
- Throws:
IOException
-
PDFParser
- Throws:
IOException
-
PDFParser
- Throws:
IOException
-
-
Method Details
-
getHeader
- Throws:
IOException
-
getPDFSource
-
isLinearized
public boolean isLinearized() -
getXRefInfo
- Throws:
IOException
-
getObject
- Throws:
IOException
-
parseXrefTable
- Throws:
IOException
-
isEncrypted
public boolean isEncrypted() -
getEncryption
-
getLastTrailerOffset
-