|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.transit.tools.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 adapterMethod Detail |
public boolean isTraceEnabled()
isTraceEnabled
in interface Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface Logger
public void debug(String message)
debug
in interface Logger
message
- the debug message to recordpublic void trace(String message)
trace
in interface Logger
message
- the trace message to recordpublic void info(String message)
info
in interface Logger
message
- the info message to recordpublic void warn(String message)
warn
in interface Logger
message
- the warning message to recordpublic void warn(String message, Throwable cause)
warn
in interface Logger
message
- the warning message to recordcause
- the causal exceptionpublic void error(String message)
error
in interface Logger
message
- the error message to recordpublic void error(String message, Throwable e)
error
in interface Logger
message
- the error message to recorde
- the errorpublic Logger getChildLogger(String category)
getChildLogger
in interface Logger
category
- the channel name relative to this logging channel
public void notify(URL resource, int total, int count)
notify
in interface Adapter
resource
- 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 |