public interface PackCompressor
Modifier and Type | Method and Description |
---|---|
String[] |
getCompressionFormatSymbols()
Returns all symbolic names which are used for this compressor.
|
int |
getCompressionLevel()
Returns the compression level to be used.
|
String[] |
getContainerPaths()
Returns the path where the compiler can find the classes;
normaly this is a path to a jar file.
|
String[][] |
getDecoderClassNames()
Returns the qualified names of all needed classes for decoding.
|
String |
getDecoderMapperName()
Returns the qualified name of the class which should be used
as InputStream in the installer.
|
String |
getEncoderClassName()
Returns the qualified name of the encoding output stream.
|
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.
|
void |
setCompiler(Compiler compiler)
Receives the current used compiler.
|
void |
setCompressionLevel(int level)
Receives the compression level to be used.
|
boolean |
useStandardCompression()
Returns whether the standard comression should be used with
this pack compressor or not.
|
OutputStream getOutputStream(OutputStream os) throws Exception
os
- output stream to be used as listenerException
String[] getCompressionFormatSymbols()
String[] getContainerPaths()
String[][] getDecoderClassNames()
String getEncoderClassName()
String getDecoderMapperName()
boolean useStandardCompression()
void setCompiler(Compiler compiler)
compiler
- current active compilerboolean needsBufferedOutputStream()
void setCompressionLevel(int level)
level
- compression level to be usedint getCompressionLevel()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses