Class ScuflModelEventPrinter

  extended by org.embl.ebi.escience.scufl.ScuflModelEventPrinter
All Implemented Interfaces:, ScuflModelEventListener

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

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

Tom Oinn
See Also:
Serialized Form

Constructor Summary
ScuflModelEventPrinter( 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


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

Method Detail


public void receiveModelEvent(ScuflModelEvent event)
Implements ScuflModelEventListener

Specified by:
receiveModelEvent in interface ScuflModelEventListener