| java.lang.Object com.izforge.izpack.compiler.PackagerBase com.izforge.izpack.compiler.MultiVolumePackager
MultiVolumePackager | public class MultiVolumePackager 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.
This is a packager, which packs everything into multi volumes.
author: Dennis Reil, |
INSTALLER_PAK_NAME | final public static String INSTALLER_PAK_NAME(Code) | | |
MultiVolumePackager | public MultiVolumePackager(String compr_format) throws CompilerException(Code) | | Extended constructor.
Parameters: compr_format - Compression format to be used for packs compression format (if supported) throws: CompilerException - |
MultiVolumePackager | public MultiVolumePackager(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 chosen compression format (ifsupported) throws: CompilerException - |
addConfigurationInformation | public void addConfigurationInformation(XMLElement data)(Code) | | |
createInstaller | public void createInstaller(File primaryFile) throws Exception(Code) | | Create the installer, beginning with the specified jar. If the name specified does not end in
".jar", it is appended. If secondary jars are created for packs (if the Info object added has
a webDirURL set), they are created in the same directory, named sequentially by inserting
".pack#" (where '#' is the pack number) ".jar" suffix: e.g. "foo.pack1.jar". If any file
exists, it is overwritten.
|
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.
|
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)
|
|
|