|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public java.io.OutputStream getOutputStream(java.io.OutputStream os)
throws java.lang.Exception
os - output stream to be used as listener
java.lang.Exceptionpublic java.lang.String[] getCompressionFormatSymbols()
public java.lang.String[] getContainerPaths()
public java.lang.String[][] getDecoderClassNames()
public java.lang.String getEncoderClassName()
public java.lang.String getDecoderMapperName()
public boolean useStandardCompression()
public void setCompiler(Compiler compiler)
compiler - current active compilerpublic boolean needsBufferedOutputStream()
public void setCompressionLevel(int level)
level - compression level to be usedpublic int getCompressionLevel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||