Class TLcdDAFIFTNavaidRecordFilter

java.lang.Object
com.luciad.format.dafift.decoder.TLcdDAFIFTNavaidRecordFilter
All Implemented Interfaces:
ILcdDAFIFTRecordFilter

public class TLcdDAFIFTNavaidRecordFilter extends Object implements ILcdDAFIFTRecordFilter
Implementation of ILcdDAFIFTRecordFilter that allows to filter DAFIFT records on a list of Navaid keys. A Navaid key is a combination of an identifier, a type, a country code and a key code.
Since:
8.0
  • Constructor Details

    • TLcdDAFIFTNavaidRecordFilter

      public TLcdDAFIFTNavaidRecordFilter()
  • Method Details

    • accept

      public boolean accept(String[] aRecord, String aFileName)
      Description copied from interface: ILcdDAFIFTRecordFilter
      Tests if a given record of type String[] passes the filter or not. The actual test condition is specified by the implementation of this interface.
      Specified by:
      accept in interface ILcdDAFIFTRecordFilter
      Parameters:
      aRecord - The String[] to be tested by the filter.
      aFileName - The file name which contains the given record.
      Returns:
      true if the String[] passes the filter, false otherwise.
    • addNavaid

      public void addNavaid(String aIdentifier, String aType, String aCountryCode, String aKeyCode)
      Add a Navaid key which needs to be accepted by this filter instance.
      Parameters:
      aIdentifier - The navaid identifier of the Navaid (key).
      aType - The navaid type of the Navaid (key).
      aCountryCode - The navaid country code of the Navaid (key).
      aKeyCode - The navaid key code of the Navaid (key).