public class Downloader extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
Downloader() |
| Modifier and Type | Method and Description |
|---|---|
static Proxy |
createProxy() |
static void |
download(URL url,
String version,
String export,
List<String> driverName,
BrowserManager browserManager) |
static File |
extract(File compressedFile,
String export,
BrowserManager browserManager) |
static File |
extractMsi(File msi) |
static String |
getTarget(String version,
URL url,
BrowserManager browserManager) |
static String |
getTargetPath() |
static File |
unBZip2(File archive) |
static File |
unGzip(File archive) |
static File |
unTarGz(File archive) |
static File |
unZip(File compressedFile) |
public static Proxy createProxy()
public static final void download(URL url, String version, String export, List<String> driverName, BrowserManager browserManager) throws IOException
IOExceptionpublic static final File extractMsi(File msi) throws IOException
IOExceptionpublic static final File extract(File compressedFile, String export, BrowserManager browserManager) throws IOException
IOExceptionpublic static File unZip(File compressedFile) throws IOException
IOExceptionpublic static File unGzip(File archive) throws IOException
IOExceptionpublic static File unTarGz(File archive) throws IOException
IOExceptionpublic static File unBZip2(File archive) throws IOException
IOExceptionpublic static final String getTarget(String version, URL url, BrowserManager browserManager) throws IOException
IOExceptionpublic static String getTargetPath()
Copyright © 2017. All rights reserved.