org.apache.commons.compress.compressors.lzma
public class LZMACompressorInputStream extends CompressorInputStream
Constructor and Description |
---|
LZMACompressorInputStream(InputStream inputStream)
Creates a new input stream that decompresses LZMA-compressed data
from the specified input stream.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
long |
skip(long n) |
count, count, getBytesRead, getCount, pushedBackBytes
mark, markSupported, read, reset
public LZMACompressorInputStream(InputStream inputStream) throws IOException
inputStream
- where to read the compressed dataIOException
- if the input is not in the .lzma format,
the input is corrupt or truncated, the .lzma
headers specify sizes that are not supported
by this implementation, or the underlying
inputStream
throws an exceptionpublic int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in class InputStream
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.