|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectosdep.console.ConsoleDownloadListener
public class ConsoleDownloadListener
When a file is downloading, reports all the derived events on the console.
| Constructor Summary | |
|---|---|
ConsoleDownloadListener()
|
|
| Method Summary | |
|---|---|
void |
downloadFinished(java.lang.String file)
The downloading of the file is terminated |
void |
downloadStarted(java.lang.String file)
The download of the given file is started |
void |
downloadStep(long bytesDownloaded)
Another piece of the file has been downloaded |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleDownloadListener()
| Method Detail |
|---|
public void downloadFinished(java.lang.String file)
IDownloadListener
downloadFinished in interface IDownloadListenerpublic void downloadStarted(java.lang.String file)
IDownloadListener
downloadStarted in interface IDownloadListenerpublic void downloadStep(long bytesDownloaded)
IDownloadListener
downloadStep in interface IDownloadListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||