DSCListener
public class FilteringEventListener extends java.lang.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 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-2016 The Apache Software Foundation. All Rights Reserved.