Class CachedAttributionBingAerialTileSource.BingAttributionData
java.lang.Object
org.openstreetmap.josm.io.CacheCustomContent<IOException>
org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource.BingAttributionData
- Enclosing class:
- CachedAttributionBingAerialTileSource
-
Field Summary
Fields inherited from class org.openstreetmap.josm.io.CacheCustomContent
INTERVAL_ALWAYS, INTERVAL_DAILY, INTERVAL_HOURLY, INTERVAL_MONTHLY, INTERVAL_NEVER, INTERVAL_WEEKLY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanChecks underlying resource is not accessed in offline mode.protected byte[]This function will be executed when an update is required.Methods inherited from class org.openstreetmap.josm.io.CacheCustomContent
flushData, getData, getDataString, isCacheValid, updateForceString, updateIfRequired, updateIfRequiredString
-
Constructor Details
-
BingAttributionData
-
-
Method Details
-
updateData
Description copied from class:CacheCustomContentThis function will be executed when an update is required. It has to be implemented by the inheriting class and should use a worker if it has a long wall time as the function is executed in the current thread.- Specified by:
updateDatain classCacheCustomContent<IOException>- Returns:
- the data to cache
- Throws:
IOException
-
isOffline
Description copied from class:CacheCustomContentChecks underlying resource is not accessed in offline mode.- Specified by:
isOfflinein classCacheCustomContent<IOException>- Returns:
- whether resource is accessed in offline mode
-