public final class FileDownloader extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
downloadFile(String url,
String outfilePath)
Download the url to the specified location
|
static void |
gunzipFile(String filePath) |
static boolean |
isPathExists(String fullPath) |
public static void downloadFile(String url, String outfilePath) throws FileNotFoundException, IOException
url - url to downloadoutfilePath - outputfile locationFileNotFoundException - if an error occursIOException - if an error occurspublic static void gunzipFile(String filePath) throws IOException
IOExceptionpublic static boolean isPathExists(String fullPath)
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.