org.axiondb.io

Class AxionOutputStream

public abstract class AxionOutputStream extends OutputStream

AxionOutputStream is an OutputStream that can track its position.

Version: $Revision: 1.3 $ $Date: 2005/04/14 00:30:02 $

Author: Ahimanikya Satapathy

Method Summary
abstract longgetPos()
Return the current offset from the start of the file
abstract voidseek(long pos)
Seek to the given offset from the start of the file.

Method Detail

getPos

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

seek

public abstract void seek(long pos)
Seek to the given offset from the start of the file. The next read() will be from that location. Can't seek past the end of the file.