Class OsmSegmenter.AcceptTileSubdirsOrPlanetWays

java.lang.Object
org.ka2ddo.yaac.osm.OsmSegmenter.AcceptTileSubdirsOrPlanetWays
All Implemented Interfaces:
FileFilter
Enclosing class:
OsmSegmenter

protected static class OsmSegmenter.AcceptTileSubdirsOrPlanetWays extends Object implements FileFilter
This class provides a FileFilter for identifying the relevant temporary files for sorting the results of an OSM import.
Author:
Andrew Pavlin, KA2DDO
  • Constructor Details

    • AcceptTileSubdirsOrPlanetWays

      protected AcceptTileSubdirsOrPlanetWays()
  • Method Details

    • accept

      public boolean accept(File path)
      Tests whether or not the specified abstract pathname should be included in a pathname list. This accepts only the latitude subdirectories of the tile storage area, and the planet.ways file (in its pre-sorted temporary form).
      Specified by:
      accept in interface FileFilter
      Parameters:
      path - File of the abstract pathname to be tested
      Returns:
      true if and only if path should be included