com.izforge.izpack.installer
Class ConsoleInstaller
java.lang.Object
com.izforge.izpack.installer.InstallerBase
com.izforge.izpack.installer.ConsoleInstaller
public class ConsoleInstaller
- extends InstallerBase
Runs the console installer
- Author:
- Mounir el hajj
| Methods inherited from class com.izforge.izpack.installer.InstallerBase |
addCustomLangpack, checkInstallerRequirements, getAvailableLangPacks, getResource, getRules, loadConditions, loadDynamicVariables, loadInstallData, loadInstallerRequirements, refreshDynamicVariables, showMissingRequirementMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
installdata
private AutomatedInstallData installdata
result
private boolean result
properties
private java.util.Properties properties
printWriter
private java.io.PrintWriter printWriter
ConsoleInstaller
public ConsoleInstaller(java.lang.String langcode)
throws java.lang.Exception
- Throws:
java.lang.Exception
iterateAndPerformAction
protected void iterateAndPerformAction(java.lang.String strAction)
throws java.lang.Exception
- Throws:
java.lang.Exception
doInstall
protected void doInstall()
throws java.lang.Exception
- Throws:
java.lang.Exception
doGeneratePropertiesFile
protected void doGeneratePropertiesFile(java.lang.String strFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
doInstallFromPropertiesFile
protected void doInstallFromPropertiesFile(java.lang.String strFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
validatePanel
private boolean validatePanel(Panel p)
throws InstallerException
- Validate a panel.
- Parameters:
p - The panel to validate
- Returns:
- The status of the validation - false makes the installation fail
- Throws:
InstallerException
run
public void run(int type,
java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception