Package lzma.streams
Class LzmaOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.cservenak.streams.CoderOutputStream
-
- lzma.streams.LzmaOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class LzmaOutputStream extends CoderOutputStream
An output stream that uses LZMA compression.- Author:
- Julien Ponge, Tamas Cservenak
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LzmaOutputStream.Builder
A convenient builder that makes it easier to configure the LZMA encoder.
-
Constructor Summary
Constructors Constructor Description LzmaOutputStream(OutputStream out, Encoder lzmaEncoder)
LzmaOutputStream(OutputStream out, LzmaEncoderWrapper wrapper)
-
Method Summary
-
Methods inherited from class org.cservenak.streams.CoderOutputStream
close, flush, write, write, write
-
Methods inherited from class java.io.OutputStream
nullOutputStream
-
-
-
-
Constructor Detail
-
LzmaOutputStream
public LzmaOutputStream(OutputStream out, LzmaEncoderWrapper wrapper) throws IOException
- Throws:
IOException
-
LzmaOutputStream
public LzmaOutputStream(OutputStream out, Encoder lzmaEncoder) throws IOException
- Throws:
IOException
-
-