|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.kernel.util.StreamChangeListener
A change listener that describes the changes on the standard output. It simply prints the description of the change once it executes (or throws an exception).
| Green (neuendor) |
| Green (eal) |
| Field Summary | |
protected java.io.PrintStream |
_output
The PrintStream that we direct the output to. |
| Constructor Summary | |
StreamChangeListener()
Create a change listener that sends messages to the standard output. |
|
StreamChangeListener(java.io.OutputStream out)
Create a change listener that sends messages to the specified stream. |
|
| Method Summary | |
void |
changeExecuted(ChangeRequest change)
Print the description of the change to the stream output. |
void |
changeFailed(ChangeRequest change,
java.lang.Exception exception)
Print the description of the failure to the stream output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.io.PrintStream _output
| Constructor Detail |
public StreamChangeListener()
public StreamChangeListener(java.io.OutputStream out)
out - The stream to send messages to.| Method Detail |
public void changeExecuted(ChangeRequest change)
changeExecuted in interface ChangeListenerchange - The change that has been executed.
public void changeFailed(ChangeRequest change,
java.lang.Exception exception)
changeFailed in interface ChangeListenerchange - The change that has been executed.exception - The exception that occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||