|
xnsdoc 1.2.1 Java API |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.xnsdoc.ConsoleListener
Implementation of the ProcessorListener
interface that simple logs everything to the console.
| Field Summary |
| Fields inherited from interface com.xnsdoc.ProcessorListener |
DEBUG, ERROR, FATAL, INFO, WARN |
| Constructor Summary | |
ConsoleListener()
Constructor. |
|
ConsoleListener(int level)
Constructor. |
|
| Method Summary | |
void |
debug(java.lang.String message)
Log a message with debug log level. |
void |
end()
Signals end of processing. |
void |
error(java.lang.String message)
Log a message with error log level. |
void |
fatal(java.lang.String message)
Log a message with fatal log level. |
int |
getLevel()
Returns the current verbosity level. |
void |
info(java.lang.String message)
Log a message with info log level. |
void |
setLevel(int level)
Sets the verbosity level. |
void |
start(int componentCount)
Signals start of processing. |
void |
warn(java.lang.String message)
Log a message with warn log level. |
void |
worked(java.lang.String componentDescription)
Signals start of processinga component. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConsoleListener()
public ConsoleListener(int level)
level - debug level.| Method Detail |
public void debug(java.lang.String message)
ProcessorListener
debug in interface ProcessorListenermessage - the message of the event{@inheritDoc}public void end()
ProcessorListener
end in interface ProcessorListener{@inheritDoc}public void error(java.lang.String message)
ProcessorListener
error in interface ProcessorListenermessage - the message of the event{@inheritDoc}public void fatal(java.lang.String message)
ProcessorListener
fatal in interface ProcessorListenermessage - the message of the event{@inheritDoc}public int getLevel()
ProcessorListener
getLevel in interface ProcessorListener{@inheritDoc}public void info(java.lang.String message)
ProcessorListener
info in interface ProcessorListenermessage - the message of the event{@inheritDoc}public void setLevel(int level)
ProcessorListener
setLevel in interface ProcessorListenerlevel - the new verbosity level{@inheritDoc}public void start(int componentCount)
ProcessorListener
start in interface ProcessorListenercomponentCount - total number components to process{@inheritDoc}public void warn(java.lang.String message)
ProcessorListener
warn in interface ProcessorListenermessage - the message of the event{@inheritDoc}public void worked(java.lang.String componentDescription)
ProcessorListener
worked in interface ProcessorListenercomponentDescription - description of currently processed components{@inheritDoc}
|
xnsdoc 1.2.1 Java API |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||