public class LzopOutputStream extends LzoOutputStream
out
Constructor and Description |
---|
LzopOutputStream(OutputStream out,
LzoCompressor compressor) |
LzopOutputStream(OutputStream out,
LzoCompressor compressor,
int inputBufferSize) |
LzopOutputStream(OutputStream out,
LzoCompressor compressor,
int inputBufferSize,
long flags)
Constructs a new LzopOutputStream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Writes a null word to the underlying output stream, then closes it.
|
protected void |
writeBlock(byte[] inputData,
int inputPos,
int inputLen,
byte[] outputData,
int outputPos,
int outputLen) |
protected void |
writeLzopHeader()
Writes an lzop-compatible header to the OutputStream provided.
|
flush, getAlgorithm, getCompressor, getConstraints, write, write, write, writeInt
public LzopOutputStream(OutputStream out, LzoCompressor compressor, @CheckForSigned int inputBufferSize, long flags) throws IOException
IOException
public LzopOutputStream(@Nonnull OutputStream out, @Nonnull LzoCompressor compressor, @CheckForSigned int inputBufferSize) throws IOException
IOException
public LzopOutputStream(@Nonnull OutputStream out, @Nonnull LzoCompressor compressor) throws IOException
IOException
protected void writeLzopHeader() throws IOException
IOException
protected void writeBlock(@Nonnull byte[] inputData, @Nonnegative int inputPos, @Nonnegative int inputLen, @Nonnull byte[] outputData, @Nonnegative int outputPos, @Nonnegative int outputLen) throws IOException
writeBlock
in class LzoOutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class LzoOutputStream
IOException