|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.tucana.event.DownloadCallbackAdapter
public class DownloadCallbackAdapter
An adapter class that logs the progress of a download command.
| Field Summary | |
|---|---|
protected Level |
level
The log level to use. |
protected static Logger |
logger
The logger to use to log the download progress. |
| Constructor Summary | |
|---|---|
DownloadCallbackAdapter()
Default constructor. |
|
DownloadCallbackAdapter(Level level)
Create a new instance with the specified logging level. |
|
| Method Summary | |
|---|---|
void |
downloadFailed(DownloadFailEvent event)
Indicate that a content download process failed, usually due to reasons other than client cancellation. |
void |
downloadFinished(DownloadFinishEvent event)
Indicate that a content download process has ended successfully. |
void |
downloadStarted(DownloadStartEvent event)
Indicate that a content download process has been started. |
Level |
getLevel()
Accessor for property 'level'. |
void |
setLevel(Level level)
Mutator for property 'level'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger logger
protected Level level
| Constructor Detail |
|---|
public DownloadCallbackAdapter()
level to Level.FINE
public DownloadCallbackAdapter(Level level)
level - The logging level to use.| Method Detail |
|---|
public void downloadStarted(DownloadStartEvent event)
downloadStarted in interface DownloadCallbackevent - The download event object.public void downloadFinished(DownloadFinishEvent event)
downloadFinished in interface DownloadCallbackevent - The download event object.public void downloadFailed(DownloadFailEvent event)
downloadFailed in interface DownloadCallbackevent - The download fail event object.public Level getLevel()
public void setLevel(Level level)
level - Value to set for property 'level'.
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||