Class InputMeta


  • public class InputMeta
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.InputStream in  
      private int length  
    • Constructor Summary

      Constructors 
      Constructor Description
      InputMeta​(java.io.InputStream in)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLength()  
      (package private) int readByte()  
      (package private) java.awt.Color readColor()  
      int readInt()  
      int readShort()  
      int readWord()  
      (package private) void skip​(int len)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • in

        private final java.io.InputStream in
      • length

        private int length
    • Constructor Detail

      • InputMeta

        public InputMeta​(java.io.InputStream in)
    • Method Detail

      • readWord

        public int readWord()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • readShort

        public int readShort()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readInt

        public int readInt()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readByte

        int readByte()
              throws java.io.IOException
        Throws:
        java.io.IOException
      • skip

        void skip​(int len)
           throws java.io.IOException
        Throws:
        java.io.IOException
      • getLength

        public int getLength()
      • readColor

        java.awt.Color readColor()
                          throws java.io.IOException
        Throws:
        java.io.IOException