public class LzmaEncodeInputStream extends CompressionInputStream
| Constructor and Description |
|---|
LzmaEncodeInputStream(java.io.InputStream in,
java.lang.String encodeSpec,
LzmaProfile compressionProfile,
int pipeBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForError() |
void |
close() |
protected java.io.InputStream |
getCompressionStream(java.io.InputStream input) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
getEncodeMetadata, initStreamsaddListener, getChainHead, getNext, notifyListeners, removeListenerpublic LzmaEncodeInputStream(java.io.InputStream in,
java.lang.String encodeSpec,
LzmaProfile compressionProfile,
int pipeBufferSize)
protected java.io.InputStream getCompressionStream(java.io.InputStream input)
throws java.io.IOException
getCompressionStream in class CompressionInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class CompressionInputStreamjava.io.IOExceptionprotected void checkForError()