Package org.eclipse.net4j.util.io
Class DataInputExtender
java.lang.Object
org.eclipse.net4j.util.io.DataInputExtender
- All Implemented Interfaces:
Closeable
,DataInput
,AutoCloseable
,ExtendedDataInput
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataInput
ExtendedDataInput.Delegating, ExtendedDataInput.Stream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
byte
readByte()
byte[]
char
readChar()
double
<T extends Enum<?>>
Tfloat
void
readFully
(byte[] b) void
readFully
(byte[] b, int off, int len) int
readInt()
readLine()
long
readLong()
readObject
(ClassLoader classLoader) readObject
(ExtendedIOUtil.ClassResolver classResolver) short
int
int
readUTF()
int
long
int
skipBytes
(int n)
-
Constructor Details
-
DataInputExtender
-
-
Method Details
-
readBoolean
- Specified by:
readBoolean
in interfaceDataInput
- Throws:
IOException
-
readByte
- Specified by:
readByte
in interfaceDataInput
- Throws:
IOException
-
readChar
- Specified by:
readChar
in interfaceDataInput
- Throws:
IOException
-
readDouble
- Specified by:
readDouble
in interfaceDataInput
- Throws:
IOException
-
readFloat
- Specified by:
readFloat
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readFully
- Specified by:
readFully
in interfaceDataInput
- Throws:
IOException
-
readInt
- Specified by:
readInt
in interfaceDataInput
- Throws:
IOException
-
readLine
- Specified by:
readLine
in interfaceDataInput
- Throws:
IOException
-
readLong
- Specified by:
readLong
in interfaceDataInput
- Throws:
IOException
-
readShort
- Specified by:
readShort
in interfaceDataInput
- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedByte
in interfaceDataInput
- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShort
in interfaceDataInput
- Throws:
IOException
-
readUTF
- Specified by:
readUTF
in interfaceDataInput
- Throws:
IOException
-
readVarInt
- Specified by:
readVarInt
in interfaceExtendedDataInput
- Throws:
IOException
- Since:
- 3.7
-
readVarLong
- Specified by:
readVarLong
in interfaceExtendedDataInput
- Throws:
IOException
- Since:
- 3.7
-
readByteArray
- Specified by:
readByteArray
in interfaceExtendedDataInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfaceExtendedDataInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfaceExtendedDataInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfaceExtendedDataInput
- Throws:
IOException
-
readString
- Specified by:
readString
in interfaceExtendedDataInput
- Throws:
IOException
-
readEnum
- Specified by:
readEnum
in interfaceExtendedDataInput
- Throws:
IOException
- Since:
- 3.0
-
readException
- Specified by:
readException
in interfaceExtendedDataInput
- Throws:
IOException
- Since:
- 3.4
-
skipBytes
- Specified by:
skipBytes
in interfaceDataInput
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
- Since:
- 3.6
-