org.axiondb.io
Class BufferedDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.axiondb.io.BufferedDataInputStream
- All Implemented Interfaces:
- Closeable, DataInput
public class BufferedDataInputStream
- extends DataInputStream
Utility that wraps a AxionInputStream
in a DataInputStream
and buffers
input through a BufferedInputStream
.
- Version:
- $Revision: 1.1 $ $Date: 2005/04/07 00:27:53 $
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedDataInputStream
public BufferedDataInputStream(AxionInputStream in)
throws IOException
- Throws:
IOException
BufferedDataInputStream
public BufferedDataInputStream(AxionInputStream in,
int bufferSize)
throws IOException
- Throws:
IOException
getPos
public long getPos()
throws IOException
- Throws:
IOException
seek
public void seek(long desired)
throws IOException
- Throws:
IOException