|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.statcato.file.DownloadFile
public class DownloadFile
A class for downloading a file from a given URL to a file in a specified directory.
Constructor Summary | |
---|---|
DownloadFile(java.lang.String URL)
|
Method Summary | |
---|---|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DownloadFile(java.lang.String URL)
Method Detail |
---|
public int download(java.lang.String fileName)
public java.lang.String download()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |