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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]<T extends Enum<?>>
TreadObject(ClassLoader classLoader) readObject(ExtendedIOUtil.ClassResolver classResolver) intlongstatic InputStreamunwrap(InputStream stream) static ExtendedDataInputStreamwrap(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, skipBytesMethods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skipMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
readVarIntin interfaceExtendedDataInput- Throws:
IOException- Since:
- 3.7
-
readVarLong
- Specified by:
readVarLongin interfaceExtendedDataInput- Throws:
IOException- Since:
- 3.7
-
readByteArray
- Specified by:
readByteArrayin interfaceExtendedDataInput- Throws:
IOException
-
readString
- Specified by:
readStringin interfaceExtendedDataInput- Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceExtendedDataInput- Throws:
IOException
-
readEnum
- Specified by:
readEnumin interfaceExtendedDataInput- Throws:
IOException- Since:
- 3.0
-
readException
- Specified by:
readExceptionin interfaceExtendedDataInput- Throws:
IOException- Since:
- 3.4
-
readObject
- Specified by:
readObjectin interfaceExtendedDataInput- Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceExtendedDataInput- Throws:
IOException
-
wrap
-
unwrap
-