public class LzmaEncodeOutputStream extends CompressionOutputStream
| Constructor and Description |
|---|
LzmaEncodeOutputStream(java.io.OutputStream out,
java.lang.String encodeSpec,
LzmaProfile compressionProfile,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForError() |
void |
close() |
protected java.io.OutputStream |
getCompressionStream(java.io.OutputStream output) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
getEncodeMetadata, initStreamsaddListener, getChainHead, getNext, notifyListeners, removeListenerpublic LzmaEncodeOutputStream(java.io.OutputStream out,
java.lang.String encodeSpec,
LzmaProfile compressionProfile,
int bufferSize)
protected java.io.OutputStream getCompressionStream(java.io.OutputStream output)
throws java.io.IOException
getCompressionStream in class CompressionOutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class EncodeOutputStream<CompressionMetadata>java.io.IOExceptionpublic void write(byte[] b)
throws java.io.IOException
write in class EncodeOutputStream<CompressionMetadata>java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class CompressionOutputStreamjava.io.IOExceptionprotected void checkForError()