public interface EventHandler
Modifier and Type | Method and Description |
---|---|
<T> void |
handleEvent(EventType<T> eventType,
T eventData,
BfsParser parser)
The method is called by the parser when it has found something
interesting in a BFS file.
|
<T> void handleEvent(EventType<T> eventType, T eventData, BfsParser parser)
It is recommended that event handlers ignore event types they don't know about.
eventType
- The type of event. See the parser documentation
for more information about the event types it generateseventData
- The data that is associated with the eventparser
- The parser that is resposible for parsing the file