Class TLcdDAFIFTWayPointRecordFilter

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

public class TLcdDAFIFTWayPointRecordFilter extends Object implements ILcdDAFIFTRecordFilter
Implementation of 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.
Since:
8.0
  • Constructor Details

    • TLcdDAFIFTWayPointRecordFilter

      public TLcdDAFIFTWayPointRecordFilter()
  • 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.
    • addWayPoint

      public void addWayPoint(String aIdentifier, String aCountryCode)
      Add a WayPoint key which needs to be accepted by this filter instance.
      Parameters:
      aIdentifier - The waypoint identifier of the WayPoint (key).
      aCountryCode - The waypoint country code of the WayPoint (key).