|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbuttress.io.Download
| Constructor Summary | |
Download(java.net.URL link)
|
|
| Method Summary | |
void |
downloadTorrent()
Takes the url and downloads the files to the local folder, ie the folder where this script is run from |
java.net.URL |
getDownloadUrl()
getter for the url of the torrent |
java.lang.String |
getTorrentName()
getter for torrentName variable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Download(java.net.URL link)
link - URL| Method Detail |
public java.lang.String getTorrentName()
public java.net.URL getDownloadUrl()
public void downloadTorrent()
throws java.io.FileNotFoundException,
java.io.IOException
FileNotFoundException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||