org.apache.hadoop.fs
Class FSOutputStream
java.lang.Object
java.io.OutputStream
org.apache.hadoop.fs.FSOutputStream
- public abstract class FSOutputStream
- extends OutputStream
FSOutputStream is an OutputStream that can track its position.
- Author:
- Mike Cafarella
Method Summary |
abstract long |
getPos()
Return the current offset from the start of the file |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSOutputStream
public FSOutputStream()
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