|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.mtdesktop.fileutility.Downloader
public class Downloader
The Class Downloader.
| Constructor Summary | |
|---|---|
Downloader(AssetRegistry assetRegistry)
Instantiates a new downloader. |
|
| Method Summary | |
|---|---|
void |
downloadFile(java.lang.String fileUrl,
java.lang.String destinationDir)
Download file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Downloader(AssetRegistry assetRegistry)
assetRegistry - the asset registry| Method Detail |
|---|
public void downloadFile(java.lang.String fileUrl,
java.lang.String destinationDir)
throws java.net.MalformedURLException,
java.io.IOException
fileUrl - the file urldestinationDir - the destination dir
java.net.MalformedURLException - the malformed url exception
java.io.IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||