public class FilterExtension extends java.lang.Object implements IParserExtension
IOnLoadFilter.| Modifier and Type | Field and Description |
|---|---|
private IOnLoadFilter |
recordingLoadFilter |
private static IEventSink |
SKIP_SINK |
| Constructor and Description |
|---|
FilterExtension(IOnLoadFilter recordingLoadFilter) |
| Modifier and Type | Method and Description |
|---|---|
IEventSinkFactory |
getEventSinkFactory(IEventSinkFactory subFactory)
Get a new event sink factory for use during the reading of one Flight Recording.
|
java.lang.String |
getValueInterpretation(java.lang.String eventTypeId,
java.lang.String fieldId)
Override the value interpretation.
|
private IOnLoadFilter recordingLoadFilter
private static final IEventSink SKIP_SINK
public FilterExtension(IOnLoadFilter recordingLoadFilter)
public IEventSinkFactory getEventSinkFactory(IEventSinkFactory subFactory)
IParserExtension
Note that it is the implementor's responsibility to make sure that the subfactory is used by
the event sink factory. If the
IEventSinkFactory.create call is not chained to the subfactory, then events will be lost.
getEventSinkFactory in interface IParserExtensionsubFactory - Subfactory to nest. Events created by the returned factory will normally be passed
on to sinks created by the nested subfactory.public java.lang.String getValueInterpretation(java.lang.String eventTypeId,
java.lang.String fieldId)
IParserExtensionnull should be returned.getValueInterpretation in interface IParserExtensioneventTypeId - event type ID to get interpretation forfieldId - field ID within the event type to get interpretation fornull to use the default
interpretation