Repository: commons-compress Updated Branches: refs/heads/master 0ee8f1e8a -> 2871865cc
bring back javadoc Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/2871865c Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/2871865c Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/2871865c Branch: refs/heads/master Commit: 2871865cc1468c2bd16a7ddb672080725831d45f Parents: 0ee8f1e Author: Stefan Bodewig <bode...@apache.org> Authored: Wed Apr 26 09:31:44 2017 +0200 Committer: Stefan Bodewig <bode...@apache.org> Committed: Wed Apr 26 09:31:44 2017 +0200 ---------------------------------------------------------------------- .../compressors/lzma/LZMACompressorInputStream.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/2871865c/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java b/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java index 5723b5c..859df16 100644 --- a/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java +++ b/src/main/java/org/apache/commons/compress/compressors/lzma/LZMACompressorInputStream.java @@ -33,6 +33,18 @@ import org.apache.commons.compress.compressors.CompressorInputStream; public class LZMACompressorInputStream extends CompressorInputStream { private final InputStream in; + /** + * Creates a new input stream that decompresses LZMA-compressed data + * from the specified input stream. + * + * @param inputStream where to read the compressed data + * + * @throws IOException 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 + * <code>inputStream</code> throws an exception + */ public LZMACompressorInputStream(final InputStream inputStream) throws IOException { in = new LZMAInputStream(inputStream, -1);