Class BinaryFileDataReader

  • All Implemented Interfaces:
    DataReader

    public class BinaryFileDataReader
    extends java.lang.Object
    implements DataReader
    • Constructor Detail

      • BinaryFileDataReader

        public BinaryFileDataReader​(java.io.File f)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • BinaryFileDataReader

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

        public BinaryFileDataReader​(java.io.DataInputStream in)
    • Method Detail

      • readDouble

        public double readDouble()
                          throws java.io.IOException
        Specified by:
        readDouble in interface DataReader
        Throws:
        java.io.IOException
      • readInt

        public int readInt()
                    throws java.io.IOException
        Specified by:
        readInt in interface DataReader
        Throws:
        java.io.IOException
      • readUTF

        public java.lang.String readUTF()
                                 throws java.io.IOException
        Specified by:
        readUTF in interface DataReader
        Throws:
        java.io.IOException