public class LzopOutputStream extends org.apache.hadoop.io.compress.CompressionOutputStream
| Constructor and Description |
|---|
LzopOutputStream(OutputStream out,
LzoCompressor.CompressionStrategy strategy,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
void |
resetState() |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int b) |
writepublic LzopOutputStream(OutputStream out, LzoCompressor.CompressionStrategy strategy, int bufferSize) throws IOException
IOExceptionpublic void write(byte[] buf, int off, int len) throws IOException
write in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void write(int b) throws IOException
write in class OutputStreamIOExceptionpublic void finish() throws IOException
finish in class org.apache.hadoop.io.compress.CompressionOutputStreamIOExceptionpublic void resetState() throws IOException
resetState in class org.apache.hadoop.io.compress.CompressionOutputStreamIOException