org.eclipse.net4j.util.io
Class ExtendedDataInput.Delegating

java.lang.Object
  extended by org.eclipse.net4j.util.io.ExtendedDataInput.Delegating
All Implemented Interfaces:
DataInput, ExtendedDataInput
Enclosing interface:
ExtendedDataInput

public static class ExtendedDataInput.Delegating
extends Object
implements ExtendedDataInput

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataInput
ExtendedDataInput.Delegating, ExtendedDataInput.Stream
 
Constructor Summary
ExtendedDataInput.Delegating(ExtendedDataInput delegate)
           
 
Method Summary
 ExtendedDataInput getDelegate()
           
 boolean readBoolean()
           
 byte readByte()
           
 byte[] readByteArray()
           
 char readChar()
           
 double readDouble()
           
<T extends Enum<?>>
T
readEnum(Class<T> type)
           
 float readFloat()
           
 void readFully(byte[] b)
           
 void readFully(byte[] b, int off, int len)
           
 int readInt()
           
 String readLine()
           
 long readLong()
           
 Object readObject()
           
 Object readObject(ClassLoader classLoader)
           
 Object readObject(ExtendedIOUtil.ClassResolver classResolver)
           
 short readShort()
           
 String readString()
           
 int readUnsignedByte()
           
 int readUnsignedShort()
           
 String readUTF()
           
 int skipBytes(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedDataInput.Delegating

public ExtendedDataInput.Delegating(ExtendedDataInput delegate)
Method Detail

getDelegate

public ExtendedDataInput getDelegate()

readBoolean

public boolean readBoolean()
                    throws IOException
Specified by:
readBoolean in interface DataInput
Throws:
IOException

readByte

public byte readByte()
              throws IOException
Specified by:
readByte in interface DataInput
Throws:
IOException

readByteArray

public byte[] readByteArray()
                     throws IOException
Specified by:
readByteArray in interface ExtendedDataInput
Throws:
IOException

readChar

public char readChar()
              throws IOException
Specified by:
readChar in interface DataInput
Throws:
IOException

readDouble

public double readDouble()
                  throws IOException
Specified by:
readDouble in interface DataInput
Throws:
IOException

readFloat

public float readFloat()
                throws IOException
Specified by:
readFloat in interface DataInput
Throws:
IOException

readFully

public void readFully(byte[] b,
                      int off,
                      int len)
               throws IOException
Specified by:
readFully in interface DataInput
Throws:
IOException

readFully

public void readFully(byte[] b)
               throws IOException
Specified by:
readFully in interface DataInput
Throws:
IOException

readInt

public int readInt()
            throws IOException
Specified by:
readInt in interface DataInput
Throws:
IOException

readLine

public String readLine()
                throws IOException
Specified by:
readLine in interface DataInput
Throws:
IOException

readLong

public long readLong()
              throws IOException
Specified by:
readLong in interface DataInput
Throws:
IOException

readObject

public Object readObject()
                  throws IOException
Specified by:
readObject in interface ExtendedDataInput
Throws:
IOException

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

readShort

public short readShort()
                throws IOException
Specified by:
readShort in interface DataInput
Throws:
IOException

readString

public String readString()
                  throws IOException
Specified by:
readString 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

readUnsignedByte

public int readUnsignedByte()
                     throws IOException
Specified by:
readUnsignedByte in interface DataInput
Throws:
IOException

readUnsignedShort

public int readUnsignedShort()
                      throws IOException
Specified by:
readUnsignedShort in interface DataInput
Throws:
IOException

readUTF

public String readUTF()
               throws IOException
Specified by:
readUTF in interface DataInput
Throws:
IOException

skipBytes

public int skipBytes(int n)
              throws IOException
Specified by:
skipBytes in interface DataInput
Throws:
IOException


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.