public class TLcdDAFIFTAerodromeRecordFilter extends Object implements ILcdDAFIFTRecordFilter
ILcdDAFIFTRecordFilter
that allows to filter
DAFIFT records on a list of aerodrome identifiers.Constructor and Description |
---|
TLcdDAFIFTAerodromeRecordFilter() |
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 |
addAerodrome(String aIdentifier)
Add an aerodrome identifier 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 addAerodrome(String aIdentifier)
aIdentifier
- The aerodrome identifier to accept.