public class DefaultPackCompressor extends PackCompressorBase
Modifier and Type | Field and Description |
---|---|
private static String[] |
THIS_CONTAINER_PATH |
private static String[][] |
THIS_DECODER_CLASS_NAMES |
private static String |
THIS_DECODER_MAPPER |
private static String |
THIS_ENCODER_CLASS_NAME |
private static String[] |
THIS_FORMAT_NAMES |
containerPaths, decoderClassNames, decoderMapper, encoderClassName, formatNames, paramsClasses
Constructor and Description |
---|
DefaultPackCompressor() |
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream(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 String[] THIS_FORMAT_NAMES
private static final String[] THIS_CONTAINER_PATH
private static final String THIS_DECODER_MAPPER
private static final String[][] THIS_DECODER_CLASS_NAMES
private static final String THIS_ENCODER_CLASS_NAME
public DefaultPackCompressor()
public OutputStream getOutputStream(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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses