Class FileDownloadTools

java.lang.Object
es.imim.DISGENET.tool.FileDownloadTools

public class FileDownloadTools extends Object
general helper class to download files and extract them; used to download database file
Author:
michael
  • Constructor Details

    • FileDownloadTools

      public FileDownloadTools()
  • Method Details

    • getFile

      public static boolean getFile(String source, String destination)
    • untarFile

      public static boolean untarFile(String tarFile, String untarDir) throws IOException
      Throws:
      IOException
    • unpackFile

      public static boolean unpackFile(String source, String destination)
    • deleteFile

      public static void deleteFile(String fileName)
    • getRemoteFileSize

      public static long getRemoteFileSize(String urlParam)