org.apache.hadoop.fs
Class FSOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byorg.apache.hadoop.fs.FSOutputStream

public abstract class FSOutputStream
extends OutputStream

FSOutputStream is an OutputStream that can track its position.

Author:
Mike Cafarella

Constructor Summary
FSOutputStream()
           
 
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

FSOutputStream

public FSOutputStream()
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