public class TLcdDAFIFTWayPointRecordFilter extends Object implements ILcdDAFIFTRecordFilter
ILcdDAFIFTRecordFilter
that allows to filter
DAFIFT records on a list of WayPoint keys. A WayPoint key is a combination
of an identifier and a country code.Constructor and Description |
---|
TLcdDAFIFTWayPointRecordFilter() |
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 |
addWayPoint(String aIdentifier,
String aCountryCode)
Add a WayPoint 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.