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 TypeMethodDescriptionbooleanTests if a given record of typeString[]passes the filter or not.voidaddAerodrome(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:ILcdDAFIFTRecordFilterTests 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:
acceptin interfaceILcdDAFIFTRecordFilter- Parameters:
aRecord- The String[] to be tested by the filter.aFileName- The file name which contains the given record.- Returns:
trueif theString[]passes the filter,falseotherwise.
-
addAerodrome
Add an aerodrome identifier which needs to be accepted by this filter instance.- Parameters:
aIdentifier- The aerodrome identifier to accept.
-