org.eclipse.net4j.util.io
Class ExtendedDataInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by org.eclipse.net4j.util.io.ExtendedDataInputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, ExtendedDataInput

public class ExtendedDataInputStream
extends java.io.DataInputStream
implements ExtendedDataInput


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
ExtendedDataInputStream(java.io.InputStream in)
           
 
Method Summary
 byte[] readByteArray()
           
 java.lang.Object readObject()
           
 java.lang.Object readObject(java.lang.ClassLoader classLoader)
           
 java.lang.Object readObject(ExtendedIOUtil.ClassResolver classResolver)
           
 java.lang.String readString()
           
static java.io.InputStream unwrap(java.io.InputStream stream)
           
static ExtendedDataInputStream wrap(java.io.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.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 Detail

ExtendedDataInputStream

public ExtendedDataInputStream(java.io.InputStream in)
Method Detail

readByteArray

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

readString

public java.lang.String readString()
                            throws java.io.IOException
Specified by:
readString in interface ExtendedDataInput
Throws:
java.io.IOException

readObject

public java.lang.Object readObject()
                            throws java.io.IOException
Specified by:
readObject in interface ExtendedDataInput
Throws:
java.io.IOException

readObject

public java.lang.Object readObject(java.lang.ClassLoader classLoader)
                            throws java.io.IOException
Specified by:
readObject in interface ExtendedDataInput
Throws:
java.io.IOException

readObject

public java.lang.Object readObject(ExtendedIOUtil.ClassResolver classResolver)
                            throws java.io.IOException
Specified by:
readObject in interface ExtendedDataInput
Throws:
java.io.IOException

wrap

public static ExtendedDataInputStream wrap(java.io.InputStream stream)

unwrap

public static java.io.InputStream unwrap(java.io.InputStream stream)

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.