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.
this class should no longer be used
Extends the regular
java.io.OutputStream with a random
access facility. Multiple write() operations can be
positioned off sequence with the seek(long) method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidseek(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
-
Constructor Details
-
RandomAccessOutputStream
public RandomAccessOutputStream()Deprecated.
-
-
Method Details
-
seek
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.
-