org.embl.ebi.escience.scufl
Class ScuflModelEventPrinter

java.lang.Object
  extended by org.embl.ebi.escience.scufl.ScuflModelEventPrinter
All Implemented Interfaces:
java.io.Serializable, ScuflModelEventListener

public class ScuflModelEventPrinter
extends java.lang.Object
implements ScuflModelEventListener, java.io.Serializable

Trivially implements the ScuflModelEventListener by printing a textual representation of incoming events to a given PrintStream

Author:
Tom Oinn
See Also:
Serialized Form

Constructor Summary
ScuflModelEventPrinter(java.io.PrintStream the_writer)
          The listener will print events out onto the supplied PrintWriter.
 
Method Summary
 void receiveModelEvent(ScuflModelEvent event)
          Implements ScuflModelEventListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScuflModelEventPrinter

public ScuflModelEventPrinter(java.io.PrintStream the_writer)
The listener will print events out onto the supplied PrintWriter. If null, this defaults to the stdout.

Method Detail

receiveModelEvent

public void receiveModelEvent(ScuflModelEvent event)
Implements ScuflModelEventListener

Specified by:
receiveModelEvent in interface ScuflModelEventListener