Package org.apache.jackrabbit.core.fs
Class RandomAccessOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.jackrabbit.core.fs.RandomAccessOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
@Deprecated public abstract class RandomAccessOutputStream extends OutputStream
Deprecated.this class should no longer be usedExtends the regularjava.io.OutputStream
with a random access facility. Multiplewrite()
operations can be positioned off sequence with theseek(long)
method.
-
-
Constructor Summary
Constructors Constructor Description RandomAccessOutputStream()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract void
seek(long position)
Deprecated.Sets the current position in the resource where the next write will occur.-
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
-
-
-
Method Detail
-
seek
public abstract void seek(long position) throws IOException
Deprecated.Sets the current position in the resource where the next write will occur.- Parameters:
position
- the new position in the resource.- Throws:
IOException
- if an error occurs while seeking to the position.
-
-