Package com.ning.compress.lzf.util
Class LZFFileOutputStream.Wrapper
- java.lang.Object
-
- java.io.OutputStream
-
- com.ning.compress.lzf.util.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.OutputStreamThis simple wrapper is needed to re-route read calls so that they will use "raw" writes
-
-
Constructor Summary
Constructors Modifier Constructor Description privateWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(byte[] buffer, int offset, int length)voidwrite(int arg0)
-
-
-
Method Detail
-
write
public void write(int arg0) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] buffer, int offset, int length) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
-