public abstract class ZIPListInstaller
extends java.lang.Object
ZIPListInstaller installs a list of ZIPs into a given
local directory from a given download location.
The installation directory and download URL are established when
the installer is constructed.
This is an abstract class: each concrete subclass is responsible for
implementing the method establishZIPList() which defines
the specific list of ZIPs to be installed, for which purpose the
supporting setter methods
setZIPs(String[]) and setZIPTags(String[])
are provided.
The doInstall() method first establishes the list of ZIPs,
by inovoking establishZIPList() and then
performs the installation.| Constructor and Description |
|---|
ZIPListInstaller(java.io.File localdir,
java.lang.String remotebase)
Constructs a new zip list installer, to target the given
local directory, and to download from the given remote base URL.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
doInstall()
Performs the installation as determined by the configuration
parameters supplied at construction time.
|
static void |
showErrorMessage(java.lang.String TITLE,
java.lang.String MESSAGE)
Shows an error message dialog with the given title and message.
|
static void |
showMessage(java.lang.String TITLE,
java.lang.String MESSAGE)
Shows an information message dialog with the given title and message.
|
public ZIPListInstaller(java.io.File localdir,
java.lang.String remotebase)
public boolean doInstall()
download sub-folder at the
remote base location.public static void showMessage(java.lang.String TITLE,
java.lang.String MESSAGE)
public static void showErrorMessage(java.lang.String TITLE,
java.lang.String MESSAGE)