Package org.ka2ddo.yaac.osm
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 Summary
-
Method Summary
-
Constructor Details
-
AcceptTileSubdirsOrPlanetWays
protected AcceptTileSubdirsOrPlanetWays()
-
-
Method Details
-
accept
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 interfaceFileFilter
- Parameters:
path
- File of the abstract pathname to be tested- Returns:
true
if and only ifpath
should be included
-