|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.transit.tools.AntAdapter
public class AntAdapter
A ant montor for download messages.
| Constructor Summary | |
|---|---|
AntAdapter(Task task)
Creation of a new ant logging adapter. |
|
| Method Summary | |
|---|---|
void |
debug(String message)
Record a debug level message. |
void |
error(String message)
Record a error level message. |
void |
error(String message,
Throwable e)
Record a error level message. |
Logger |
getChildLogger(String category)
Create a new subsidiary logging channel. |
void |
info(String message)
Record a informative message. |
boolean |
isDebugEnabled()
Return TRUE is debug level logging is enabled. |
boolean |
isErrorEnabled()
Return TRUE is error level logging is enabled. |
boolean |
isInfoEnabled()
Return TRUE is info level logging is enabled. |
boolean |
isTraceEnabled()
Return TRUE is trace level logging is enabled. |
boolean |
isWarnEnabled()
Return TRUE is warn level logging is enabled. |
void |
notify(URL resource,
int total,
int count)
Hnadle download notification. |
void |
trace(String message)
Record a trace level message. |
void |
warn(String message)
Record a warning message. |
void |
warn(String message,
Throwable cause)
Record a warning message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntAdapter(Task task)
task - the task establishing the adapter| Method Detail |
|---|
public boolean isTraceEnabled()
isTraceEnabled in interface Loggerpublic boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic boolean isInfoEnabled()
isInfoEnabled in interface Loggerpublic boolean isWarnEnabled()
isWarnEnabled in interface Loggerpublic boolean isErrorEnabled()
isErrorEnabled in interface Loggerpublic void debug(String message)
debug in interface Loggermessage - the debug message to recordpublic void trace(String message)
trace in interface Loggermessage - the trace message to recordpublic void info(String message)
info in interface Loggermessage - the info message to recordpublic void warn(String message)
warn in interface Loggermessage - the warning message to record
public void warn(String message,
Throwable cause)
warn in interface Loggermessage - the warning message to recordcause - the causal exceptionpublic void error(String message)
error in interface Loggermessage - the error message to record
public void error(String message,
Throwable e)
error in interface Loggermessage - the error message to recorde - the errorpublic Logger getChildLogger(String category)
getChildLogger in interface Loggercategory - the channel name relative to this logging channel
public void notify(URL resource,
int total,
int count)
notify in interface Adapterresource - the resource under attentiontotal - the estimated download sizecount - the progress towards expected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||