sisc.ser
Class SeekableDataInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by sisc.ser.SeekableDataInputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput, java.io.ObjectInput, Seekable, SeekableDataInput

public class SeekableDataInputStream
extends java.io.DataInputStream
implements SeekableDataInput, java.io.ObjectInput


Field Summary
protected  Seekable sis
           
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
SeekableDataInputStream(SeekableInputStream s)
           
 
Method Summary
 long getFilePointer()
           
 java.lang.Object readObject()
           
 void seek(long pos)
           
 
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 sisc.ser.SeekableDataInput
read, read, read
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 
Methods inherited from interface java.io.ObjectInput
available, close, read, read, read, skip
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 

Field Detail

sis

protected Seekable sis
Constructor Detail

SeekableDataInputStream

public SeekableDataInputStream(SeekableInputStream s)
Method Detail

seek

public void seek(long pos)
          throws java.io.IOException
Specified by:
seek in interface Seekable
Throws:
java.io.IOException

getFilePointer

public long getFilePointer()
                    throws java.io.IOException
Specified by:
getFilePointer in interface Seekable
Throws:
java.io.IOException

readObject

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