public interface FormatReader
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBool() |
byte |
readByte() |
byte[] |
readBytes() |
double |
readDouble() |
<T extends java.lang.Enum<T>> |
readEnum(java.lang.Class<T> type) |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
<T> T |
readObject(FormatUnmarshaller<T> type) |
java.lang.Object |
readObjectMarshalled() |
java.lang.Object |
readObjectSerialized() |
short |
readShort() |
java.lang.String |
readString() |
boolean readBool()
throws FormatException
java.io.EOFExceptionFormatExceptionbyte readByte()
throws FormatException
FormatException - If there was a problem while reading.short readShort()
throws FormatException
FormatException - If there was a problem while reading.int readInt()
throws FormatException
FormatException - If there was a problem while reading.long readLong()
throws FormatException
FormatException - If there was a problem while reading.float readFloat()
throws FormatException
FormatException - If there was a problem while reading.double readDouble()
throws FormatException
FormatException - If there was a problem while reading.java.lang.String readString()
throws FormatException
FormatException - If there was a problem while reading.byte[] readBytes()
throws FormatException
FormatException - If there was a problem while reading.<T extends java.lang.Enum<T>> T readEnum(java.lang.Class<T> type)
throws FormatException
type - The enum type;FormatException - If there was a problem while reading.<T> T readObject(FormatUnmarshaller<T> type) throws FormatException
FormatException - If there was a problem while reading.java.lang.Object readObjectMarshalled()
throws FormatException
FormatException - If there was a problem while reading.java.lang.Object readObjectSerialized()
throws FormatException
FormatException - If there was a problem while reading.