Package es.imim.DISGENET.tool
Class FileDownloadTools
java.lang.Object
es.imim.DISGENET.tool.FileDownloadTools
general helper class to download files and extract them;
used to download database file
- Author:
- michael
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
deleteFile
(String fileName) static boolean
static long
getRemoteFileSize
(String urlParam) static boolean
unpackFile
(String source, String destination) static boolean
-
Constructor Details
-
FileDownloadTools
public FileDownloadTools()
-
-
Method Details
-
getFile
-
untarFile
- Throws:
IOException
-
unpackFile
-
deleteFile
-
getRemoteFileSize
-