|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.kernel.util.RecorderListener
A debug listener that records messages in a string buffer.
NamedObj,
StreamListener
| Green (cxh) |
| Green (eal) |
| Constructor Summary | |
RecorderListener()
Create a listener. |
|
| Method Summary | |
void |
event(DebugEvent event)
Append a string representation of the event to the current set of messages. |
java.lang.String |
getMessages()
Get the messages recorded so far. |
void |
message(java.lang.String message)
Append the message to the current set of messages. |
void |
reset()
Clear the buffer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RecorderListener()
| Method Detail |
public void event(DebugEvent event)
event in interface DebugListenerevent - The event.public java.lang.String getMessages()
public void message(java.lang.String message)
message in interface DebugListenermessage - The debug message.public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||