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, ExtendedDataInput
- public class ExtendedDataInputStream
- extends DataInputStream
- implements ExtendedDataInput
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.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 |
ExtendedDataInputStream
public ExtendedDataInputStream(InputStream in)
readByteArray
public byte[] readByteArray()
throws IOException
- Specified by:
readByteArray
in interface ExtendedDataInput
- Throws:
IOException
readString
public String readString()
throws IOException
- Specified by:
readString
in interface ExtendedDataInput
- Throws:
IOException
readObject
public Object readObject()
throws IOException
- Specified by:
readObject
in interface ExtendedDataInput
- Throws:
IOException
readEnum
public <T extends Enum<?>> T readEnum(Class<T> type)
throws IOException
- Specified by:
readEnum
in interface ExtendedDataInput
- Throws:
IOException
- Since:
- 3.0
readObject
public Object readObject(ClassLoader classLoader)
throws IOException
- Specified by:
readObject
in interface ExtendedDataInput
- Throws:
IOException
readObject
public Object readObject(ExtendedIOUtil.ClassResolver classResolver)
throws IOException
- Specified by:
readObject
in interface ExtendedDataInput
- Throws:
IOException
wrap
public static ExtendedDataInputStream wrap(InputStream stream)
unwrap
public static InputStream unwrap(InputStream stream)
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.