Creating a data source from a DAFIF file

To create a DAFIF data source:
  1. Create data source objects for a DAFIF file:
    IlvDAFIFDataSource source = new IlvDAFIFDataSource
       ("C:/maps/dafif_0606_ed8/DAFIFT");
    source.setManager(getView().getManager());
    
  2. DAFIF data contains many different features. Select the features you want to import into your map by choosing the feature codes:
    source.setAcceptedCodeList(new String[] { "ARPT/ARPT" });