Package org.apache.jackrabbit.core.fs
Class RandomAccessOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.jackrabbit.core.fs.RandomAccessOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public abstract class RandomAccessOutputStream extends java.io.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.
-
-
-
Method Detail
-
seek
public abstract void seek(long position) throws java.io.IOException
Deprecated.Sets the current position in the resource where the next write will occur.- Parameters:
position
- the new position in the resource.- Throws:
java.io.IOException
- if an error occurs while seeking to the position.
-
-