Class DataItemOutputStream

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

    public final class DataItemOutputStream
    extends com.github.akurilov.commons.io.ByteCountOutputStream
    • Field Summary

      • Fields inherited from class com.github.akurilov.commons.io.ByteCountOutputStream

        byteCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void write​(byte[] buff)  
      void write​(byte[] buff, int offset, int length)  
      void write​(int b)  
      • Methods inherited from class com.github.akurilov.commons.io.ByteCountOutputStream

        byteCount
      • Methods inherited from class java.io.OutputStream

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

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

      • DataItemOutputStream

        public DataItemOutputStream​(DataItem dataItem)
    • Method Detail

      • close

        public final void close()
                         throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
        Throws:
        java.io.IOException