public class TiledLayerImpl extends Object implements TiledLayer
Constructor and Description |
---|
TiledLayerImpl(TileCacheImpl tileCache,
TileServer provider,
ITileFileSystemStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
String |
assignPathTile(Tile tile)
Assigns the path to a tile
|
long |
delete()
Deletes the files of this layer
|
String |
getBaseLayerDirectory()
Gets the base directory for this layer.
|
String |
getID()
Returns the ID of this layer.
|
ThreadPoolImpl |
getThreadPool()
Gets the pool of threads
|
Tile |
getTile(Tile tile)
Gets a tile
|
void |
getTiles(List<Tile> tiles,
TileListener listener,
TaskStatus status)
Gets a list of tiles
|
void |
updateBaseDirectory(String dir)
Updates the string with the base directory
|
public TiledLayerImpl(TileCacheImpl tileCache, TileServer provider, ITileFileSystemStrategy strategy)
public ThreadPoolImpl getThreadPool()
public void updateBaseDirectory(String dir)
dir
- public Tile getTile(Tile tile) throws TileGettingException
TiledLayer
getTile
in interface TiledLayer
TileGettingException
public void getTiles(List<Tile> tiles, TileListener listener, TaskStatus status) throws TileGettingException
TiledLayer
getTiles
in interface TiledLayer
TileGettingException
public String getBaseLayerDirectory()
TiledLayer
getBaseLayerDirectory
in interface TiledLayer
public String getID()
TiledLayer
getID
in interface TiledLayer
public long delete()
TiledLayer
delete
in interface TiledLayer