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.
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.