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