Package com.luciad.format.dafift.decoder
Class TLcdDAFIFTAerodromeRecordFilter
java.lang.Object
com.luciad.format.dafift.decoder.TLcdDAFIFTAerodromeRecordFilter
- All Implemented Interfaces:
ILcdDAFIFTRecordFilter
Implementation of
ILcdDAFIFTRecordFilter
that allows to filter
DAFIFT records on a list of aerodrome identifiers.- Since:
- 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests if a given record of typeString[]
passes the filter or not.void
addAerodrome
(String aIdentifier) Add an aerodrome identifier which needs to be accepted by this filter instance.
-
Constructor Details
-
TLcdDAFIFTAerodromeRecordFilter
public TLcdDAFIFTAerodromeRecordFilter()
-
-
Method Details
-
accept
Description copied from interface:ILcdDAFIFTRecordFilter
Tests if a given record of typeString[]
passes the filter or not. The actual test condition is specified by the implementation of this interface.- Specified by:
accept
in interfaceILcdDAFIFTRecordFilter
- Parameters:
aRecord
- The String[] to be tested by the filter.aFileName
- The file name which contains the given record.- Returns:
true
if theString[]
passes the filter,false
otherwise.
-
addAerodrome
Add an aerodrome identifier which needs to be accepted by this filter instance.- Parameters:
aIdentifier
- The aerodrome identifier to accept.
-