Package org.eclipse.net4j.util.io
Class ExtendedDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.eclipse.net4j.util.io.ExtendedDataInputStream
- 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
-
Field Summary
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
<T extends Enum<?>>
TreadObject
(ClassLoader classLoader) readObject
(ExtendedIOUtil.ClassResolver classResolver) int
long
static InputStream
unwrap
(InputStream stream) static ExtendedDataInputStream
wrap
(InputStream stream) Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Constructor Details
-
ExtendedDataInputStream
-
-
Method Details
-
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
-
readString
- Specified by:
readString
in interfaceExtendedDataInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
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
-
readObject
- Specified by:
readObject
in interfaceExtendedDataInput
- Throws:
IOException
-
readObject
- Specified by:
readObject
in interfaceExtendedDataInput
- Throws:
IOException
-
wrap
-
unwrap
-