Class Coders.DeflateDecoder
java.lang.Object
org.apache.commons.compress.archivers.sevenz.AbstractCoder
org.apache.commons.compress.archivers.sevenz.Coders.DeflateDecoder
- Enclosing class:
Coders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) InputStreamdecode(String archiveName, InputStream in, long uncompressedLength, Coder coder, byte[] password, int maxMemoryLimitInKb) Decodes using stream that reads from in using the configured coder and password.(package private) OutputStreamencode(OutputStream out, Object options) Encodes using a stream that writes to out using the given configuration.Methods inherited from class org.apache.commons.compress.archivers.sevenz.AbstractCoder
getOptionsAsProperties, getOptionsFromCoder, isOptionInstance, toInt
-
Field Details
-
ONE_ZERO_BYTE
private static final byte[] ONE_ZERO_BYTE
-
-
Constructor Details
-
DeflateDecoder
DeflateDecoder()
-
-
Method Details
-
decode
InputStream decode(String archiveName, InputStream in, long uncompressedLength, Coder coder, byte[] password, int maxMemoryLimitInKb) throws IOException Description copied from class:AbstractCoderDecodes using stream that reads from in using the configured coder and password.- Specified by:
decodein classAbstractCoder- Returns:
- a stream that reads from in using the configured coder and password.
- Throws:
IOException
-
encode
Description copied from class:AbstractCoderEncodes using a stream that writes to out using the given configuration.- Overrides:
encodein classAbstractCoder- Returns:
- a stream that writes to out using the given configuration.
-