|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventHandler
Event handlers are used for reacting to various parsing events when parsing BFS files. Different parsers generate different types of events, and generally, different event handler implementations are needed for different BFS file types.
Method Summary | ||
---|---|---|
|
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. |
Method Detail |
---|
<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
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |