|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cpptools.AbstractLogger
public abstract class AbstractLogger
Captures behaviours common to loggers.
Constructor Summary | |
---|---|
AbstractLogger()
|
Method Summary | |
---|---|
void |
display(java.lang.String filename,
int line,
int column)
Display a diagnostic. |
void |
finished(int parsed,
int total)
Notify an end event. |
protected abstract void |
log(java.lang.String message)
Log a given message. |
void |
started()
Notify a start event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cpptools.EventHandler |
---|
changed, error |
Constructor Detail |
---|
public AbstractLogger()
Method Detail |
---|
public final void started()
started
in interface EventHandler
public final void finished(int parsed, int total)
finished
in interface EventHandler
parsed
- number of files parsedtotal
- total number of filesprotected abstract void log(java.lang.String message)
message
- the messagepublic final void display(java.lang.String filename, int line, int column)
display
in interface EventHandler
filename
- the file nameline
- the line numbercolumn
- the column offset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |