public class TileConfigUrlDisk extends Objectimplements TileConfig
| Constructor and Description |
|---|
TileConfigUrlDisk(int id, String
Create a new TileConfig
|
| Modifier and Type | Method and Description |
|---|---|
PaintListener |
createGlobalManager()
|
ImageManager |
createImageManager()
Create an ImageManager for tiles from this TileConfig instance.
|
boolean |
equals(Object
|
int |
getId()
A unique id that can be used to identify this TileConfig instance.
|
String |
getName()
A descriptive name of this configuration.
|
String |
getPath()
|
String |
getUrl()
|
String |
getUserAgent()
|
int |
hashCode()
|
void |
setUserAgent(String
Set the user agent to use for the connections opened.
|
String |
toString()
|
public void setUserAgent(StringuserAgent)
userAgent - the user agent to use for HTTP requests.
public int getId()
TileConfig
getId in interface
TileConfig
public StringgetName()
TileConfig
getName in interface
TileConfig
public StringgetUrl()
public StringgetPath()
public StringgetUserAgent()
public StringtoString()
public boolean equals(Objecto)
public int hashCode()
public ImageManager<Tile ,BufferedImage > createImageManager()
TileConfig
createImageManager in interface
TileConfig
public PaintListenercreateGlobalManager()