Class Coders.BCJDecoder
- java.lang.Object
-
- org.apache.commons.compress.archivers.sevenz.AbstractCoder
-
- org.apache.commons.compress.archivers.sevenz.Coders.BCJDecoder
-
- Enclosing class:
- Coders
static class Coders.BCJDecoder extends AbstractCoder
-
-
Field Summary
Fields Modifier and Type Field Description private org.tukaani.xz.FilterOptionsopts
-
Constructor Summary
Constructors Constructor Description BCJDecoder(org.tukaani.xz.FilterOptions opts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.io.InputStreamdecode(java.lang.String archiveName, java.io.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) java.io.OutputStreamencode(java.io.OutputStream out, java.lang.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
-
-
-
-
Method Detail
-
decode
java.io.InputStream decode(java.lang.String archiveName, java.io.InputStream in, long uncompressedLength, Coder coder, byte[] password, int maxMemoryLimitInKb) throws java.io.IOExceptionDescription 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:
java.io.IOException
-
encode
java.io.OutputStream encode(java.io.OutputStream out, java.lang.Object options)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.
-
-