Package org.eclipse.net4j.util.io
Class ExtendedDataInput.Delegating
- java.lang.Object
- 
- org.eclipse.net4j.util.io.ExtendedDataInput.Delegating
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.DataInput,- java.lang.AutoCloseable,- ExtendedDataInput
 - Enclosing interface:
- ExtendedDataInput
 
 public static class ExtendedDataInput.Delegating extends java.lang.Object implements ExtendedDataInput, java.io.Closeable - Since:
- 2.0
- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataInputExtendedDataInput.Delegating, ExtendedDataInput.Stream
 
- 
 - 
Constructor SummaryConstructors Constructor Description Delegating(ExtendedDataInput delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ExtendedDataInputgetDelegate()booleanreadBoolean()bytereadByte()byte[]readByteArray()charreadChar()doublereadDouble()<T extends java.lang.Enum<?>>
 TreadEnum(java.lang.Class<T> type)java.lang.ThrowablereadException()floatreadFloat()voidreadFully(byte[] b)voidreadFully(byte[] b, int off, int len)intreadInt()java.lang.StringreadLine()longreadLong()java.lang.ObjectreadObject()java.lang.ObjectreadObject(java.lang.ClassLoader classLoader)java.lang.ObjectreadObject(ExtendedIOUtil.ClassResolver classResolver)shortreadShort()java.lang.StringreadString()intreadUnsignedByte()intreadUnsignedShort()java.lang.StringreadUTF()intreadVarInt()longreadVarLong()intskipBytes(int n)
 
- 
- 
- 
Constructor Detail- 
Delegatingpublic Delegating(ExtendedDataInput delegate) 
 
- 
 - 
Method Detail- 
getDelegatepublic ExtendedDataInput getDelegate() 
 - 
readBooleanpublic boolean readBoolean() throws java.io.IOException- Specified by:
- readBooleanin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readBytepublic byte readByte() throws java.io.IOException- Specified by:
- readBytein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readByteArraypublic byte[] readByteArray() throws java.io.IOException- Specified by:
- readByteArrayin interface- ExtendedDataInput
- Throws:
- java.io.IOException
 
 - 
readCharpublic char readChar() throws java.io.IOException- Specified by:
- readCharin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readDoublepublic double readDouble() throws java.io.IOException- Specified by:
- readDoublein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readFloatpublic float readFloat() throws java.io.IOException- Specified by:
- readFloatin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readFullypublic void readFully(byte[] b, int off, int len) throws java.io.IOException- Specified by:
- readFullyin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readFullypublic void readFully(byte[] b) throws java.io.IOException- Specified by:
- readFullyin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readIntpublic int readInt() throws java.io.IOException- Specified by:
- readIntin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readLinepublic java.lang.String readLine() throws java.io.IOException- Specified by:
- readLinein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readLongpublic long readLong() throws java.io.IOException- Specified by:
- readLongin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readObjectpublic java.lang.Object readObject() throws java.io.IOException- Specified by:
- readObjectin interface- ExtendedDataInput
- Throws:
- java.io.IOException
 
 - 
readObjectpublic java.lang.Object readObject(java.lang.ClassLoader classLoader) throws java.io.IOException- Specified by:
- readObjectin interface- ExtendedDataInput
- Throws:
- java.io.IOException
 
 - 
readObjectpublic java.lang.Object readObject(ExtendedIOUtil.ClassResolver classResolver) throws java.io.IOException - Specified by:
- readObjectin interface- ExtendedDataInput
- Throws:
- java.io.IOException
 
 - 
readShortpublic short readShort() throws java.io.IOException- Specified by:
- readShortin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readStringpublic java.lang.String readString() throws java.io.IOException- Specified by:
- readStringin interface- ExtendedDataInput
- Throws:
- java.io.IOException
 
 - 
readEnumpublic <T extends java.lang.Enum<?>> T readEnum(java.lang.Class<T> type) throws java.io.IOException- Specified by:
- readEnumin interface- ExtendedDataInput
- Throws:
- java.io.IOException
- Since:
- 3.0
 
 - 
readExceptionpublic java.lang.Throwable readException() throws java.io.IOException- Specified by:
- readExceptionin interface- ExtendedDataInput
- Throws:
- java.io.IOException
- Since:
- 3.4
 
 - 
readUnsignedBytepublic int readUnsignedByte() throws java.io.IOException- Specified by:
- readUnsignedBytein interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readUnsignedShortpublic int readUnsignedShort() throws java.io.IOException- Specified by:
- readUnsignedShortin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readUTFpublic java.lang.String readUTF() throws java.io.IOException- Specified by:
- readUTFin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
readVarIntpublic int readVarInt() throws java.io.IOException- Specified by:
- readVarIntin interface- ExtendedDataInput
- Throws:
- java.io.IOException
- Since:
- 3.7
 
 - 
readVarLongpublic long readVarLong() throws java.io.IOException- Specified by:
- readVarLongin interface- ExtendedDataInput
- Throws:
- java.io.IOException
- Since:
- 3.7
 
 - 
skipBytespublic int skipBytes(int n) throws java.io.IOException- Specified by:
- skipBytesin interface- java.io.DataInput
- Throws:
- java.io.IOException
 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Throws:
- java.io.IOException
- Since:
- 3.6
 
 
- 
 
-