public class FilteringEventListener extends Object implements DSCListener
DSCListener
implementation that filters certain DSC events.Constructor and Description |
---|
FilteringEventListener(DSCFilter filter)
Main constructor.
|
Modifier and Type | Method and 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 © 2023 Apache Software Foundation. All rights reserved.