Class PositionOutputStream

  • All Implemented Interfaces:,, java.lang.AutoCloseable
    Direct Known Subclasses:
    AesGcmOutputStream, OSSOutputStream

    public abstract class PositionOutputStream
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract long getPos()
      Return the current position in the OutputStream.
      • Methods inherited from class

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PositionOutputStream

        public PositionOutputStream()
    • Method Detail

      • getPos

        public abstract long getPos()
        Return the current position in the OutputStream.
        current position in bytes from the start of the stream
        Throws: - If the underlying stream throws IOException