Interface Reader


  • public interface Reader
    An interface used to hide the current encryption of a type1 font from the Tokenizer class.
    • Method Detail

      • read

        int read​(FontInputStream stream)
          throws java.io.IOException,
                 InvalidFontException
        Read the next byte from the input stream.
        Parameters:
        stream -
        Returns:
        the byte read or -1 if EOF
        Throws:
        java.io.IOException - Propogated from stream.read
        InvalidFontException - Thrown if EOF is hit.
      • unreadLast

        void unreadLast​(FontInputStream stream)
                 throws java.io.IOException
        Throws:
        java.io.IOException