|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PackCompressor
IzPack will be able to support different compression methods for the packs included in the installation jar file. This interface declares the handler of one compression format.
| Method Summary | |
|---|---|
java.lang.String[] |
getCompressionFormatSymbols()
Returns all symbolic names which are used for this compressor. |
int |
getCompressionLevel()
Returns the compression level to be used. |
java.lang.String[] |
getContainerPaths()
Returns the path where the compiler can find the classes; normaly this is a path to a jar file. |
java.lang.String[][] |
getDecoderClassNames()
Returns the qualified names of all needed classes for decoding. |
java.lang.String |
getDecoderMapperName()
Returns the qualified name of the class which should be used as InputStream in the installer. |
java.lang.String |
getEncoderClassName()
Returns the qualified name of the encoding output stream. |
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. |
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. |
| Method Detail |
|---|
java.io.OutputStream getOutputStream(java.io.OutputStream os)
throws java.lang.Exception
os - output stream to be used as listener
java.lang.Exceptionjava.lang.String[] getCompressionFormatSymbols()
java.lang.String[] getContainerPaths()
java.lang.String[][] getDecoderClassNames()
java.lang.String getEncoderClassName()
java.lang.String getDecoderMapperName()
boolean useStandardCompression()
void setCompiler(Compiler compiler)
compiler - current active compilerboolean needsBufferedOutputStream()
void setCompressionLevel(int level)
level - compression level to be usedint getCompressionLevel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||