lzma.streams
Class LzmaOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.cservenak.streams.CoderOutputStream
          extended by lzma.streams.LzmaOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class LzmaOutputStream
extends CoderOutputStream

An output stream that uses LZMA compression.

Author:
Julien Ponge, Tamas Cservenak

Nested Class Summary
static class LzmaOutputStream.Builder
          A convenient builder that makes it easier to configure the LZMA encoder.
 
Constructor Summary
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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LzmaOutputStream

public LzmaOutputStream(OutputStream out,
                        LzmaEncoderWrapper wrapper)
                 throws IOException
Throws:
IOException

LzmaOutputStream

public LzmaOutputStream(OutputStream out,
                        Encoder lzmaEncoder)
                 throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.