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