org.apache.nutch.fs
Class NFSOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.apache.nutch.fs.NFSOutputStream

public abstract class NFSOutputStream
extends OutputStream

NFSOutputStream is an OutputStream that can track its position.

Author:
Mike Cafarella

Constructor Summary
NFSOutputStream()
           
 
Method Summary
abstract  long getPos()
          Return the current offset from the start of the file
 
Methods inherited from class java.io.OutputStream
close, flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NFSOutputStream

public NFSOutputStream()
Method Detail

getPos

public abstract long getPos()
                     throws IOException
Return the current offset from the start of the file

Throws:
IOException


Copyright © 2006 The Apache Software Foundation