| java.lang.Object com.izforge.izpack.compiler.PackagerBase com.izforge.izpack.compiler.Packager
All known Subclasses: com.izforge.izpack.compiler.WebPackager, com.izforge.izpack.compiler.StdPackager,
Packager | public class Packager extends PackagerBase (Code) | | The packager class. The packager is used by the compiler to put files into an installer, and
create the actual installer files.
author: Julien Ponge author: Chadwick McHenry |
Constructor Summary | |
public | Packager() The constructor. | public | Packager(String compr_format) Extended constructor. | public | Packager(String compr_format, int compr_level) Extended constructor. |
Packager | public Packager(String compr_format, int compr_level) throws CompilerException(Code) | | Extended constructor.
Parameters: compr_format - Compression format to be used for packs Parameters: compr_level - Compression level to be used with the chosencompression format (if supported) throws: CompilerException - |
addConfigurationInformation | public void addConfigurationInformation(XMLElement data)(Code) | | |
writeIncludedJars | protected void writeIncludedJars() throws IOException(Code) | | Copy included jars to primary jar.
|
writeInstallerObject | protected void writeInstallerObject(String entryName, Object object) throws IOException(Code) | | Write an arbitrary object to primary jar.
|
writeInstallerResources | protected void writeInstallerResources() throws IOException(Code) | | Write the data referenced by URL to primary jar.
|
writePacks | protected void writePacks() throws Exception(Code) | | Write Packs to primary jar or each to a separate jar.
|
writeSkeletonInstaller | protected void writeSkeletonInstaller() throws IOException(Code) | | Write skeleton installer to primary jar. It is just an included jar, except that we copy the
META-INF as well.
|
Methods inherited from com.izforge.izpack.compiler.PackagerBase | public void addCustomJar(CustomData ca, URL url)(Code)(Java Doc) public void addJarContent(URL jarURL)(Code)(Java Doc) public void addJarContent(URL jarURL, List<String> files)(Code)(Java Doc) public void addLangPack(String iso3, URL xmlURL, URL flagURL)(Code)(Java Doc) public void addNativeLibrary(String name, URL url) throws Exception(Code)(Java Doc) public void addNativeUninstallerLibrary(CustomData data)(Code)(Java Doc) public void addPack(PackInfo pack)(Code)(Java Doc) public void addPanelJar(Panel panel, URL jarURL)(Code)(Java Doc) public void addResource(String resId, URL url)(Code)(Java Doc) public PackCompressor getCompressor()(Code)(Java Doc) public Map<String, DynamicVariable> getDynamicVariables()(Code)(Java Doc) public PackagerListener getPackagerListener()(Code)(Java Doc) public List<PackInfo> getPacksList()(Code)(Java Doc) public Map<String, Condition> getRules()(Code)(Java Doc) public Properties getVariables()(Code)(Java Doc) public void initPackCompressor(String compr_format, int compr_level) throws CompilerException(Code)(Java Doc) protected void sendMsg(String job)(Code)(Java Doc) protected void sendMsg(String job, int priority)(Code)(Java Doc) protected void sendStart()(Code)(Java Doc) protected void sendStop()(Code)(Java Doc) public void setDynamicVariables(Map<String, DynamicVariable> dynamicvariables)(Code)(Java Doc) public void setGUIPrefs(GUIPrefs prefs)(Code)(Java Doc) public void setInfo(Info info) throws Exception(Code)(Java Doc) public void setPackagerListener(PackagerListener listener)(Code)(Java Doc) public void setRules(Map<String, Condition> rules)(Code)(Java Doc) abstract protected void writeIncludedJars() throws IOException(Code)(Java Doc) protected void writeInstaller() throws Exception(Code)(Java Doc) abstract protected void writeInstallerObject(String entryName, Object object) throws IOException(Code)(Java Doc) abstract protected void writeInstallerResources() throws IOException(Code)(Java Doc) abstract protected void writePacks() throws Exception(Code)(Java Doc) abstract protected void writeSkeletonInstaller() throws IOException(Code)(Java Doc)
|
|
|