public class DefaultPackCompressor extends PackCompressorBase
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
THIS_CONTAINER_PATH |
private static java.lang.String[][] |
THIS_DECODER_CLASS_NAMES |
private static java.lang.String |
THIS_DECODER_MAPPER |
private static java.lang.String |
THIS_ENCODER_CLASS_NAME |
private static java.lang.String[] |
THIS_FORMAT_NAMES |
containerPaths, decoderClassNames, decoderMapper, encoderClassName, formatNames, paramsClasses
Constructor and Description |
---|
DefaultPackCompressor() |
Modifier and Type | Method and Description |
---|---|
java.io.OutputStream |
getOutputStream(java.io.OutputStream os)
Returns a newly created output stream which write method
writes the given input encoded to the defined output stream.
|
boolean |
needsBufferedOutputStream()
Returns whether a buffered output stream should be used
intermediate between the output stream of this compressor
and the destination.
|
boolean |
useStandardCompression()
Returns whether the standard comression should be used with
this pack compressor or not.
|
getCompressionFormatSymbols, getCompressionLevel, getContainerPaths, getDecoderClassNames, getDecoderMapperName, getEncoderClassName, getOutputInstance, loadClass, resolveConstructorParams, setCompiler, setCompressionLevel
private static final java.lang.String[] THIS_FORMAT_NAMES
private static final java.lang.String[] THIS_CONTAINER_PATH
private static final java.lang.String THIS_DECODER_MAPPER
private static final java.lang.String[][] THIS_DECODER_CLASS_NAMES
private static final java.lang.String THIS_ENCODER_CLASS_NAME
public java.io.OutputStream getOutputStream(java.io.OutputStream os)
PackCompressor
os
- output stream to be used as listenerpublic boolean useStandardCompression()
PackCompressor
useStandardCompression
in interface PackCompressor
useStandardCompression
in class PackCompressorBase
public boolean needsBufferedOutputStream()
PackCompressor
needsBufferedOutputStream
in interface PackCompressor
needsBufferedOutputStream
in class PackCompressorBase