Package nl.bebr.mapviewer.data
Class TileRunner<T,U extends Tile<T>>
- java.lang.Object
-
- nl.bebr.mapviewer.data.TileRunner<T,U>
-
- Type Parameters:
T-U-
- All Implemented Interfaces:
Runnable
public abstract class TileRunner<T,U extends Tile<T>> extends Object implements Runnable
Original TileRunner, replaced byOfflineTileRunner- Author:
- Frantisek Post
-
-
Constructor Summary
Constructors Constructor Description TileRunner(AbstractTileFactory<T,U> tileFactory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected URIgetURI(U tile)Gets the full URI of a tile.abstract TloadImage(URI uri)voidrun()implementation of the Runnable interface.
-
-
-
Constructor Detail
-
TileRunner
public TileRunner(AbstractTileFactory<T,U> tileFactory)
-
-
Method Detail
-
getURI
protected URI getURI(U tile) throws URISyntaxException
Gets the full URI of a tile.- Parameters:
tile-- Returns:
- Throws:
URISyntaxException
-
run
public void run()
implementation of the Runnable interface.
-
loadImage
public abstract T loadImage(URI uri) throws MalformedURLException, IOException
- Throws:
MalformedURLExceptionIOException
-
-