Class SkippingOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public abstract class SkippingOutputStream
    extends java.io.OutputStream
    An OutputStream that allows skipping ahead.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void skip​(long count)
      Skip ahead in the stream from the current position.
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write, write
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • skip

        public abstract void skip​(long count)
                           throws java.io.IOException
        Skip ahead in the stream from the current position.
        Parameters:
        count - number of bytes to skip ahead from the current position
        Throws:
        java.io.IOException