public interface JPhyloIOEventListener
JPhyloIOEvent
s. Such listeners can be
registered at an instance of EventForwarder
.Modifier and Type | Method and Description |
---|---|
void |
processEvent(JPhyloIOEventReader source,
JPhyloIOEvent event)
Called after an event was received from a reader instance.
|
void processEvent(JPhyloIOEventReader source, JPhyloIOEvent event) throws java.io.IOException
source
, because other registered event listeners would not
be notified of these events.source
- the reader from which the event was firedevent
- the event that was fired from the parsed documentjava.lang.Exception
- any exception thrown by the implementationjava.io.IOException