Package org.verapdf.parser
Class COSParser
java.lang.Object
org.verapdf.parser.BaseParser
org.verapdf.parser.COSParser
- Direct Known Subclasses:
DecodedObjectStreamParser,PDFParser,SignatureParser
- Author:
- Timur Kamalov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected COSDocumentprotected booleanprotected COSKeyprotected final intLinearization dictionary must be in first 1024 bytes of documentFields inherited from class org.verapdf.parser.BaseParser
source -
Constructor Summary
ConstructorsConstructorDescriptionCOSParser(InputStream fileStream) COSParser(COSDocument document, InputStream fileStream) COSParser(COSDocument document, String filename) COSParser(SeekableInputStream seekableInputStream) -
Method Summary
Methods 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
-
Field Details
-
LINEARIZATION_DICTIONARY_LOOKUP_SIZE
protected final int LINEARIZATION_DICTIONARY_LOOKUP_SIZELinearization dictionary must be in first 1024 bytes of document- See Also:
-
document
-
objects
-
integers
-
keyOfCurrentObject
-
flag
protected boolean flag
-
-
Constructor Details
-
COSParser
- Throws:
IOException
-
COSParser
- Throws:
IOException
-
COSParser
- Throws:
IOException
-
COSParser
- Throws:
IOException
-
COSParser
- Throws:
IOException
-
-
Method Details
-
nextObject
- Throws:
IOException
-
getArray
- Throws:
IOException
-
getName
- Throws:
IOException
-
getDictionary
- Throws:
IOException
-
getStream
- Throws:
IOException
-
getDocument
-