Documentation of 'org.statcato.file.DownloadFile' Java class
DownloadFile
org.statcato.file

Class DownloadFile



  • public class DownloadFile
    extends java.lang.Object
    A class for downloading a file from a given URL to a file in a specified directory.
    Since:
    1.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      DownloadFile(java.lang.String URL) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String download()
      Downloads file specified by the URL to a temporary file in saveDir.
      int download(java.lang.String fileName) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DownloadFile

        public DownloadFile(java.lang.String URL)
    • Method Detail

      • download

        public int download(java.lang.String fileName)
      • download

        public java.lang.String download()
        Downloads file specified by the URL to a temporary file in saveDir.
        Returns:
        string name of the download file in saveDir

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.