
public class TileDownloader extends Object
| Constructor and Description |
|---|
TileDownloader() |
| Modifier and Type | Method and Description |
|---|---|
long |
computeExpirationTime(String pHttpExpiresHeader,
String pHttpCacheControlHeader,
long pNow)
Deprecated.
|
Drawable |
downloadTile(long pMapTileIndex,
IFilesystemCache pFilesystemCache,
OnlineTileSourceBase pTileSource) |
Drawable |
downloadTile(long pMapTileIndex,
int redirectCount,
String targetUrl,
IFilesystemCache pFilesystemCache,
OnlineTileSourceBase pTileSource)
downloads a tile and follows http redirects
Code used to be in MapTileDownloader.TileLoader.downloadTile
|
Long |
getHttpCacheControlDuration(String pHttpCacheControlHeader)
Deprecated.
|
Long |
getHttpExpiresTime(String pHttpExpiresHeader)
Deprecated.
Use
TileSourcePolicy.getHttpExpiresTime(String) instead |
public Drawable downloadTile(long pMapTileIndex, IFilesystemCache pFilesystemCache, OnlineTileSourceBase pTileSource) throws CantContinueException
CantContinueExceptionpublic Drawable downloadTile(long pMapTileIndex, int redirectCount, String targetUrl, IFilesystemCache pFilesystemCache, OnlineTileSourceBase pTileSource) throws CantContinueException
CantContinueException@Deprecated public Long getHttpExpiresTime(String pHttpExpiresHeader)
TileSourcePolicy.getHttpExpiresTime(String) instead@Deprecated public Long getHttpCacheControlDuration(String pHttpCacheControlHeader)
TileSourcePolicy.getHttpCacheControlDuration(String) instead@Deprecated public long computeExpirationTime(String pHttpExpiresHeader, String pHttpCacheControlHeader, long pNow)
TileSourcePolicy.computeExpirationTime(HttpURLConnection, long) instead