Class RandomAccessOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    @Deprecated
    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 Detail

      • RandomAccessOutputStream

        public RandomAccessOutputStream()
        Deprecated.
    • 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.