org.axiondb.io
Class BufferedDataInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by org.axiondb.io.BufferedDataInputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput

public class BufferedDataInputStream
extends java.io.DataInputStream

Utility that wraps a AxionInputStreamin a DataInputStreamand buffers input through a BufferedInputStream.

Version:
$Revision: 1.1 $ $Date: 2005/04/07 00:27:53 $

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
BufferedDataInputStream(AxionInputStream in)
           
BufferedDataInputStream(AxionInputStream in, int bufferSize)
           
 
Method Summary
 long getPos()
           
 void seek(long desired)
           
 
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
 

Constructor Detail

BufferedDataInputStream

public BufferedDataInputStream(AxionInputStream in)
                        throws java.io.IOException
Throws:
java.io.IOException

BufferedDataInputStream

public BufferedDataInputStream(AxionInputStream in,
                               int bufferSize)
                        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getPos

public long getPos()
            throws java.io.IOException
Throws:
java.io.IOException

seek

public void seek(long desired)
          throws java.io.IOException
Throws:
java.io.IOException