|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjautil.install.ZIPListInstaller
public abstract class ZIPListInstaller
A 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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZIPListInstaller(java.io.File localdir,
java.lang.String remotebase)
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||