org.apache.nutch.fs
Class NFSDataInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
org.apache.nutch.fs.NFSDataInputStream
- All Implemented Interfaces:
- DataInput
- public class NFSDataInputStream
- extends DataInputStream
Utility that wraps a NFSInputStream
in a DataInputStream
and buffers input through a BufferedInputStream
.
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 |
NFSDataInputStream
public NFSDataInputStream(NFSInputStream in)
throws IOException
NFSDataInputStream
public NFSDataInputStream(NFSInputStream in,
int bufferSize)
throws IOException
seek
public void seek(long desired)
throws IOException
- Throws:
IOException
getPos
public long getPos()
throws IOException
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation