Package org.verapdf.parser
Class PDFStreamParser
java.lang.Object
org.verapdf.parser.COSParser
org.verapdf.parser.NotSeekableCOSParser
org.verapdf.parser.PDFStreamParser
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- Timur Kamalov
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]getByteArrayFromArrayList(List<Byte> list) protected StringThis will parse the next token in the stream.voidMethods inherited from class org.verapdf.parser.NotSeekableCOSParser
close, getBaseParser, getSourceMethods inherited from class org.verapdf.parser.COSParser
decryptCOSString, getArray, getCloseDictionary, getDictionary, getErrorMessage, getName, nextObject
-
Constructor Details
-
PDFStreamParser
- Throws:
IOException
-
-
Method Details
-
parseTokens
- Throws:
IOException
-
getTokens
-
getTokensIterator
-
parseNextToken
This will parse the next token in the stream.- Returns:
- The next token in the stream or null if there are no more tokens in the stream.
- Throws:
IOException- If an io error occurs while parsing the stream.
-
nextOperator
- Throws:
IOException
-
getImageDataStreams
-
getByteArrayFromArrayList
-