Class RandomAccessOutputStream

java.lang.Object
java.io.OutputStream
org.apache.jackrabbit.core.fs.RandomAccessOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public abstract class RandomAccessOutputStream extends OutputStream
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 Details

    • RandomAccessOutputStream

      public RandomAccessOutputStream()
      Deprecated.
  • Method Details

    • 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.