Class FontInputStream


  • public class FontInputStream
    extends java.lang.Object
    • Constructor Detail

      • FontInputStream

        public FontInputStream​(java.io.InputStream in)
      • FontInputStream

        public FontInputStream​(java.net.URL url)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • FontInputStream

        public FontInputStream​(java.io.InputStream in,
                               long size)
    • Method Detail

      • numFis

        public static int numFis()
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • isValidOffset

        public boolean isValidOffset​(long offset,
                                     long length)
      • isValidOffset

        public boolean isValidOffset​(long offset)
      • getCurrentOffset

        public long getCurrentOffset()
      • read

        public int read​(byte[] b,
                        int off,
                        int len)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] b)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • unread

        public void unread​(int b)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • unread

        public void unread​(byte[] b,
                           int off,
                           int len)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • unread

        public void unread​(byte[] b)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getDigest

        public byte[] getDigest()
                         throws java.io.IOException
        Throws:
        java.io.IOException