| java.lang.Object com.izforge.izpack.compiler.PackagerBase
All known Subclasses: com.izforge.izpack.compiler.MultiVolumePackager, com.izforge.izpack.compiler.Packager,
PackagerBase | abstract public class PackagerBase implements IPackager(Code) | | The packager base class. The packager interface IPackager is used by the compiler to put files into an installer, and
create the actual installer files. The packager implementation depends on different requirements (e.g. normal packager versus multi volume packager).
This class implements the common used method which can also be overload as needed.
author: Klaus Bartz |
Method Summary | |
public void | addCustomJar(CustomData ca, URL url) | public void | addJarContent(URL jarURL) | public void | addJarContent(URL jarURL, List<String> files) | public void | addLangPack(String iso3, URL xmlURL, URL flagURL) | public void | addNativeLibrary(String name, URL url) | public void | addNativeUninstallerLibrary(CustomData data) | public void | addPack(PackInfo pack) | public void | addPanelJar(Panel panel, URL jarURL) | public void | addResource(String resId, URL url) | public PackCompressor | getCompressor() | public Map<String, DynamicVariable> | getDynamicVariables() | public PackagerListener | getPackagerListener() | public List<PackInfo> | getPacksList() | public Map<String, Condition> | getRules() | public Properties | getVariables() | public void | initPackCompressor(String compr_format, int compr_level) | protected void | sendMsg(String job) Dispatches a message to the listeners. | protected void | sendMsg(String job, int priority) Dispatches a message to the listeners at specified priority. | protected void | sendStart() Dispatches a start event to the listeners. | protected void | sendStop() Dispatches a stop event to the listeners. | public void | setDynamicVariables(Map<String, DynamicVariable> dynamicvariables) | public void | setGUIPrefs(GUIPrefs prefs) | public void | setInfo(Info info) | public void | setPackagerListener(PackagerListener listener) | public void | setRules(Map<String, Condition> rules) | abstract protected void | writeIncludedJars() | protected void | writeInstaller() | abstract protected void | writeInstallerObject(String entryName, Object object) | abstract protected void | writeInstallerResources() | abstract protected void | writePacks() | abstract protected void | writeSkeletonInstaller() |
SKELETON_SUBPATH | final public static String SKELETON_SUBPATH(Code) | | Path to the skeleton installer.
|
baseFile | protected File baseFile(Code) | | Base file name of all jar files. This has no ".jar" suffix.
|
compressor | protected PackCompressor compressor(Code) | | The compression format to be used for pack compression
|
customDataList | protected List<CustomData> customDataList(Code) | | The ordered custom actions informations.
|
guiPrefs | protected GUIPrefs guiPrefs(Code) | | Gui preferences of instatller.
|
includedJarURLs | protected Set<Object[]> includedJarURLs(Code) | | Jar file URLs who's contents will be copied into the installer.
|
info | protected Info info(Code) | | Basic installer info.
|
installerResourceURLMap | protected Map<String, URL> installerResourceURLMap(Code) | | The langpack URLs keyed by locale name (e.g. de_CH).
|
langpackNameList | protected List<String> langpackNameList(Code) | | The ordered langpack locale names.
|
packJarsSeparate | protected boolean packJarsSeparate(Code) | | Each pack is created in a separte jar if webDirURL is non-null.
|
packsList | protected List<PackInfo> packsList(Code) | | The ordered packs informations (as PackInfo objects).
|
panelList | protected List<Panel> panelList(Code) | | The ordered panels informations.
|
addJarContent | public void addJarContent(URL jarURL)(Code) | | |
addNativeUninstallerLibrary | public void addNativeUninstallerLibrary(CustomData data)(Code) | | |
sendMsg | protected void sendMsg(String job)(Code) | | Dispatches a message to the listeners.
Parameters: job - The job description. |
sendMsg | protected void sendMsg(String job, int priority)(Code) | | Dispatches a message to the listeners at specified priority.
Parameters: job - The job description. Parameters: priority - The message priority. |
sendStart | protected void sendStart()(Code) | | Dispatches a start event to the listeners.
|
sendStop | protected void sendStop()(Code) | | Dispatches a stop event to the listeners.
|
setDynamicVariables | public void setDynamicVariables(Map<String, DynamicVariable> dynamicvariables)(Code) | | Parameters: dynamicvariables - the dynamicvariables to set |
writeIncludedJars | abstract protected void writeIncludedJars() throws IOException(Code) | | |
writeInstallerResources | abstract protected void writeInstallerResources() throws IOException(Code) | | |
writeSkeletonInstaller | abstract protected void writeSkeletonInstaller() throws IOException(Code) | | |
|
|