public class Downloader extends Object
| Constructor and Description |
|---|
Downloader(DriverManagerType driverManagerType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteFile(File file) |
protected void |
deleteFolder(File folder) |
String |
download(URL url,
String version,
String driverName) |
File |
getTarget(String version,
URL url) |
String |
getTargetPath() |
protected void |
renameFile(File from,
File to) |
protected void |
setFileExecutable(File file) |
public Downloader(DriverManagerType driverManagerType)
public String download(URL url, String version, String driverName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getTargetPath()
protected void setFileExecutable(File file)
protected void deleteFile(File file)
protected void deleteFolder(File folder)
Copyright © 2019. All rights reserved.