Interface DataReader

All Known Implementing Classes:
BinaryFileDataReader, ObjectDataReader, PlainTextFileDataReader

public interface DataReader
Describes generic ways to read data from a DataInputStream.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    int
     
     
  • Method Details

    • readDouble

      double readDouble() throws IOException
      Returns:
      Reads and returns a double value.
      Throws:
      IOException - Thrown if IO errors occurred during read operation.
    • readInt

      int readInt() throws IOException
      Returns:
      Reads and returns an int value.
      Throws:
      IOException - Thrown if IO errors occurred during read operation.
    • readUTF

      String readUTF() throws IOException
      Returns:
      Reads and returns UTF-encoded characters.
      Throws:
      IOException - Thrown if IO errors occurred during read operation.