com.izforge.izpack.installer
Class AutomatedInstaller

java.lang.Object
  extended bycom.izforge.izpack.installer.InstallerBase
      extended bycom.izforge.izpack.installer.AutomatedInstaller

public class AutomatedInstaller
extends InstallerBase

Runs the install process in text only (no GUI) mode.

Author:
Jonathan Halliday , Julien Ponge , Johannes Lehtinen

Field Summary
private  java.util.TreeMap panelInstanceCount
           
 
Constructor Summary
AutomatedInstaller(java.lang.String inputFilename)
          Constructing an instance triggers the install.
 
Method Summary
private  void doInstall(AutomatedInstallData installdata)
          Runs the automated installation logic for each panel in turn.
 XMLElement getXMLData(java.io.File input)
          Loads the xml data for the automated mode.
 
Methods inherited from class com.izforge.izpack.installer.InstallerBase
loadInstallData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panelInstanceCount

private java.util.TreeMap panelInstanceCount
Constructor Detail

AutomatedInstaller

public AutomatedInstaller(java.lang.String inputFilename)
                   throws java.lang.Exception
Constructing an instance triggers the install.

Parameters:
inputFilename - Name of the file containing the installation data.
Throws:
java.lang.Exception - Description of the Exception
Method Detail

doInstall

private void doInstall(AutomatedInstallData installdata)
                throws java.lang.Exception
Runs the automated installation logic for each panel in turn.

Parameters:
installdata - the installation data.
Throws:
java.lang.Exception

getXMLData

public XMLElement getXMLData(java.io.File input)
                      throws java.lang.Exception
Loads the xml data for the automated mode.

Parameters:
input - The file containing the installation data.
Throws:
java.lang.Exception - thrown if there are problems reading the file.