com.sentilla.io
Interface DataInput

All Superinterfaces:
Input
All Known Subinterfaces:
DataInputStream, DataRandomAccess, ObjectInput, ObjectInputStream, ObjectRandomAccess, RandomAccessFile
All Known Implementing Classes:
ByteBuffer, RemoteRandomAccessFile

public interface DataInput
extends Input

Encapsulates read operations for primitive types and UTF strings. IORuntimeException will be thrown if the value cannot be read.


Method Summary
 boolean readBoolean()
           
 byte readByte()
           
 char readChar()
           
 double readDouble()
           
 float readFloat()
           
 int readInt()
           
 long readLong()
           
 short readShort()
           
 int readUnsignedByte()
           
 String readUTF()
           
 
Methods inherited from interface com.sentilla.io.Input
close, read, read, read, skip
 

Method Detail

readBoolean

boolean readBoolean()
                    throws IORuntimeException
Throws:
IORuntimeException

readByte

byte readByte()
              throws IORuntimeException
Throws:
IORuntimeException

readUnsignedByte

int readUnsignedByte()
                     throws IORuntimeException
Throws:
IORuntimeException

readShort

short readShort()
                throws IORuntimeException
Throws:
IORuntimeException

readChar

char readChar()
              throws IORuntimeException
Throws:
IORuntimeException

readInt

int readInt()
            throws IORuntimeException
Throws:
IORuntimeException

readLong

long readLong()
              throws IORuntimeException
Throws:
IORuntimeException

readFloat

float readFloat()
                throws IORuntimeException
Throws:
IORuntimeException

readDouble

double readDouble()
                  throws IORuntimeException
Throws:
IORuntimeException

readUTF

String readUTF()
               throws IORuntimeException
Throws:
IORuntimeException


Copyright © 2007 Sentilla Corporation. All Rights Reserved.