Package org.verapdf.parser
Class PDFStreamParser
java.lang.Object
org.verapdf.parser.NotSeekableBaseParser
org.verapdf.parser.NotSeekableCOSParser
org.verapdf.parser.PDFStreamParser
- All Implemented Interfaces:
Closeable,AutoCloseable
- Author:
- Timur Kamalov
-
Field Summary
Fields inherited from class org.verapdf.parser.NotSeekableCOSParser
document, flag, integers, keyOfCurrentObject, objectsFields inherited from class org.verapdf.parser.NotSeekableBaseParser
isPSParser, source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]protected StringThis will parse the next token in the stream.voidMethods inherited from class org.verapdf.parser.NotSeekableCOSParser
getArray, getCloseDictionary, getDictionary, getName, nextObjectMethods inherited from class org.verapdf.parser.NotSeekableBaseParser
close, extendArray, findKeyword, findKeyword, getLineBytes, getToken, initializeToken, isCR, isDigit, isDigit, isEndOfComment, isFF, isLF, nextToken, readLine, readNumber, readUntilDelimiter, skipSpaces, skipSpaces, skipStreamSpaces
-
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
-