public class ZipInstaller extends Object
| Constructor and Description |
|---|
ZipInstaller(URL zipUrl,
File installDir)
Constructs installer with archive URL and install directory.
|
ZipInstaller(URL zipUrl,
String installRoot)
Constructs installer with archive URL and install path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
downloadAndInstall()
Download and unpacks the archive.
|
public ZipInstaller(URL zipUrl, String installRoot)
zipUrl - archive URLinstallRoot - install root directorypublic void downloadAndInstall()
throws IOException
IOException - on I/O errorsCopyright © 2006–2020 OPS4J - Open Participation Software for Java. All rights reserved.