public class Downloader extends Object
DownloadFunction and does the actual downloading and saving
of the downloaded stream on the filesystem. Returns filename of file it is
saved into.| Constructor and Description |
|---|
Downloader() |
| Modifier and Type | Method and Description |
|---|---|
String |
download() |
void |
setDirectory(File f) |
void |
setLogger(Logger l) |
void |
setNode(Node n) |
void |
setUrl(URL u) |
public void setLogger(Logger l)
public void setUrl(URL u)
public void setNode(Node n)
public void setDirectory(File f)
public String download() throws MalformedURLException, SocketException, IOException, IllegalArgumentException
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}