Class LZFFileOutputStream.Wrapper

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

    private final class LZFFileOutputStream.Wrapper
    extends java.io.OutputStream
    This simple wrapper is needed to re-route read calls so that they will use "raw" writes
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Wrapper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(byte[] buffer, int offset, int length)  
      void write​(int arg0)  
      • Methods inherited from class java.io.OutputStream

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

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

      • Wrapper

        private Wrapper()
    • Method Detail

      • write

        public void write​(int arg0)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write​(byte[] buffer,
                          int offset,
                          int length)
                   throws java.io.IOException
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException