public interface TileCache
Modifier and Type | Method and Description |
---|---|
TiledLayer |
createLayer(TileServer provider,
String diskStructure)
Builds a new layer
|
String |
getConfigurationDirectory()
Gets the configuration directory
|
boolean |
isFullDiskCache()
Returns true if the size of data in disk is greater than the MAX_CACHE_SIZE
|
void |
removeLayer(TiledLayer layer)
Removes a layer from list.
|
void |
updateBaseDirectory(String dir)
Updates the string with the base directory
|
TiledLayer createLayer(TileServer provider, String diskStructure)
provider
- diskStructure
- void removeLayer(TiledLayer layer)
layer
- boolean isFullDiskCache()
void updateBaseDirectory(String dir)
dir
- String getConfigurationDirectory()