Class PDFStreamParser

All Implemented Interfaces:
Closeable, AutoCloseable

public class PDFStreamParser extends NotSeekableCOSParser
Author:
Timur Kamalov
  • Constructor Details

  • Method Details

    • parseTokens

      public void parseTokens() throws IOException
      Throws:
      IOException
    • getTokens

      public List<Object> getTokens()
    • getTokensIterator

      public Iterator<Object> getTokensIterator()
    • parseNextToken

      public Object parseNextToken() throws IOException
      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

      protected String nextOperator() throws IOException
      Throws:
      IOException
    • getImageDataStreams

      public List<Closeable> getImageDataStreams()
    • getByteArrayFromArrayList

      public static byte[] getByteArrayFromArrayList(ArrayList<Byte> list)