Class TLcdDAFIFTRunwayRecordFilter

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

public class TLcdDAFIFTRunwayRecordFilter extends Object implements ILcdDAFIFTRecordFilter
Implementation of ILcdDAFIFTRecordFilter that allows to filter DAFIFT records on a list of Runway keys. A Runway key is a combination of an aerodrome identifier and a runway identifier.
Since:
8.0
  • Constructor Details

    • TLcdDAFIFTRunwayRecordFilter

      public TLcdDAFIFTRunwayRecordFilter()
  • 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.
    • addRunway

      public void addRunway(String aAerodromeIdentifier, String aRunwayIdentifier)
      Add a Runway key which needs to be accepted by this filter instance.
      Parameters:
      aAerodromeIdentifier - The aerodrome identifier of the Runway (key).
      aRunwayIdentifier - The runway identifier of the Runway (key).