public class FilteringEventListener extends java.lang.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 java.io.IOException, DSCException
processEvent
in interface DSCListener
event
- the DSC eventparser
- the DSC parserjava.io.IOException
- if an I/O error occursDSCException
- if a DSC-specific error occursCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.