public class TMSFileCacheTileLoader extends OsmFileCacheTileLoader
| Modifier and Type | Class and Description |
|---|---|
protected class |
TMSFileCacheTileLoader.TMSFileLoadJob |
OsmFileCacheTileLoader.FileLoadJobcacheDirBase, FILE_AGE_ONE_DAY, FILE_AGE_ONE_WEEK, maxCacheFileAge, recheckAfter, sourceCacheDirMap, TAGS_FILE_EXTheaders, listener, timeoutConnect, timeoutRead| Constructor and Description |
|---|
TMSFileCacheTileLoader(TileLoaderListener map,
java.io.File cacheDir) |
| Modifier and Type | Method and Description |
|---|---|
TileJob |
createTileLoaderJob(Tile tile)
A typical implementation of this function should create and return a
new
TileJob instance that performs the load action. |
protected java.io.File |
getSourceCacheDir(TileSource source) |
clearCache, clearCache, getCacheDirBase, getDefaultCacheDir, getMaxFileAge, setCacheMaxFileAge, setTileCacheDirloadTileFromOsm, loadTileMetadata, prepareHttpUrlConnection, toStringpublic TMSFileCacheTileLoader(TileLoaderListener map, java.io.File cacheDir) throws java.io.IOException
java.io.IOExceptionpublic TileJob createTileLoaderJob(Tile tile)
TileLoaderTileJob instance that performs the load action.createTileLoaderJob in interface TileLoadercreateTileLoaderJob in class OsmFileCacheTileLoadertile - the tile to be loadedTileJob implementation that performs the desired load
action.protected java.io.File getSourceCacheDir(TileSource source)
getSourceCacheDir in class OsmFileCacheTileLoader