Top Constructors Methods
org.apache.commons.compress.archivers.sevenz

pack-priv final Class DeltaDecoder

extends AbstractCoder
Class Inheritance
Imports
java.io.IOException, .InputStream, .OutputStream, org.tukaani.xz.DeltaOptions, .FinishableWrapperOutputStream, .UnsupportedOptionsException

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv InputStream
decode(final String archiveName, final InputStream in, final long uncompressedLength, final Coder coder, final byte[] password, final int maxMemoryLimitInKb)

Implements abstract org.apache.commons.compress.archivers.sevenz.AbstractCoder.decode.

Decodes using stream that reads from in using the configured coder and password.
pack-priv OutputStream
encode(final OutputStream out, final Object options)

Overrides org.apache.commons.compress.archivers.sevenz.AbstractCoder.encode.

Encodes using a stream that writes to out using the given configuration.
pack-priv byte[]
getOptionsAsProperties(final Object options)

Overrides org.apache.commons.compress.archivers.sevenz.AbstractCoder.getOptionsAsProperties.

Gets property bytes to write in a Folder block.
private int
pack-priv Object
getOptionsFromCoder(final Coder coder, final InputStream in)

Overrides org.apache.commons.compress.archivers.sevenz.AbstractCoder.getOptionsFromCoder.

Gets configuration options that have been used to create the given InputStream from the given Coder.
Inherited from org.apache.commons.compress.archivers.sevenz.AbstractCoder:
isOptionInstancetoInt

Constructor Detail

DeltaDecoderback to summary
pack-priv DeltaDecoder()

Method Detail

decodeback to summary
pack-priv InputStream decode(final String archiveName, final InputStream in, final long uncompressedLength, final Coder coder, final byte[] password, final int maxMemoryLimitInKb) throws IOException

Implements abstract org.apache.commons.compress.archivers.sevenz.AbstractCoder.decode.

Doc from org.apache.commons.compress.archivers.sevenz.AbstractCoder.decode.

Decodes using stream that reads from in using the configured coder and password.

Returns:InputStream

a stream that reads from in using the configured coder and password.

Annotations
@Override
encodeback to summary
pack-priv OutputStream encode(final OutputStream out, final Object options) throws IOException

Overrides org.apache.commons.compress.archivers.sevenz.AbstractCoder.encode.

Doc from org.apache.commons.compress.archivers.sevenz.AbstractCoder.encode.

Encodes using a stream that writes to out using the given configuration.

Returns:OutputStream

a stream that writes to out using the given configuration.

Annotations
@SuppressWarnings:resource
@Override
Exceptions
IOException:
Optionally thrown by subclassses.
getOptionsAsPropertiesback to summary
pack-priv byte[] getOptionsAsProperties(final Object options)

Overrides org.apache.commons.compress.archivers.sevenz.AbstractCoder.getOptionsAsProperties.

Doc from org.apache.commons.compress.archivers.sevenz.AbstractCoder.getOptionsAsProperties.

Gets property bytes to write in a Folder block.

Returns:byte[]

property bytes to write in a Folder block.

Annotations
@Override
getOptionsFromCoderback to summary
private int getOptionsFromCoder(final Coder coder)
getOptionsFromCoderback to summary
pack-priv Object getOptionsFromCoder(final Coder coder, final InputStream in)

Overrides org.apache.commons.compress.archivers.sevenz.AbstractCoder.getOptionsFromCoder.

Doc from org.apache.commons.compress.archivers.sevenz.AbstractCoder.getOptionsFromCoder.

Gets configuration options that have been used to create the given InputStream from the given Coder.

Returns:Object

configuration options that have been used to create the given InputStream from the given Coder

Annotations
@Override