public class TLcdDAFIFTILSRecordFilter extends Object implements ILcdDAFIFTRecordFilter
ILcdDAFIFTRecordFilter
that allows to filter
DAFIFT records on a list of ILS keys. A ILS key is a combination of an
aerodrome identifier, a runway identifier and a component type.Constructor and Description |
---|
TLcdDAFIFTILSRecordFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(String[] aRecord,
String aFileName)
Tests if a given record of type
String[] passes the filter or not. |
void |
addILS(String aAerodromeIdentifier,
String aRunwayIdentifier,
String aComponentType)
Add a ILS key which needs to be accepted by this filter instance.
|
public boolean accept(String[] aRecord, String aFileName)
ILcdDAFIFTRecordFilter
String[]
passes the filter or not.
The actual test condition is specified by the implementation of this interface.accept
in interface ILcdDAFIFTRecordFilter
aRecord
- The String[] to be tested by the filter.aFileName
- The file name which contains the given record.true
if the String[]
passes the filter,
false
otherwise.public void addILS(String aAerodromeIdentifier, String aRunwayIdentifier, String aComponentType)
aAerodromeIdentifier
- The aerodrome identifier of the ILS (key).aRunwayIdentifier
- The runway identifier of the ILS (key).aComponentType
- The component type of the ILS (key).