|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--prupp.Logger
this class handles logging of events. Events are classified by there string-represantion.
Inner Class Summary | |
static interface |
Logger.LogViewer
the interface to implement when you want to snoop on the log |
Method Summary | |
void |
addViewer(Logger.LogViewer lv)
Add a viewer to this logger |
int |
get(java.lang.String key)
get the current count for an event. |
void |
inc(java.lang.String log)
increase a logentry. |
java.util.Enumeration |
keys()
get all events |
java.util.Enumeration |
values()
get all values (unsorted) |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void addViewer(Logger.LogViewer lv)
lv
- the LogViewer to addpublic void inc(java.lang.String log)
log
- the event to increasepublic java.util.Enumeration keys()
public java.util.Enumeration values()
public int get(java.lang.String key)
key
- the event were intrested in
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |