DSCListener
public class FilteringEventListener extends Object implements DSCListener
DSCListener
implementation that filters certain DSC events.Constructor | Description |
---|---|
FilteringEventListener(DSCFilter filter) |
Main constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
processEvent(DSCEvent event,
DSCParser parser) |
Called for each DSC event.
|
public FilteringEventListener(DSCFilter filter)
filter
- the filterpublic void processEvent(DSCEvent event, DSCParser parser) throws IOException, DSCException
processEvent
in interface DSCListener
event
- the DSC eventparser
- the DSC parserIOException
- if an I/O error occursDSCException
- if a DSC-specific error occursCopyright © 2018 Apache Software Foundation. All rights reserved.