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.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)
-
-
-
Method Detail
-
write
public void write(int arg0) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] buffer, int offset, int length) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
-