org.openstreetmap.josm.gui.layer
Class TMSLayer.CachedAttributionBingAerialTileSource.BingAttributionData

java.lang.Object
  extended by org.openstreetmap.josm.io.CacheCustomContent<java.io.IOException>
      extended by org.openstreetmap.josm.gui.layer.TMSLayer.CachedAttributionBingAerialTileSource.BingAttributionData
Enclosing class:
TMSLayer.CachedAttributionBingAerialTileSource

 class TMSLayer.CachedAttributionBingAerialTileSource.BingAttributionData
extends CacheCustomContent<java.io.IOException>


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
TMSLayer.CachedAttributionBingAerialTileSource.BingAttributionData()
           
 
Method Summary
protected  byte[] updateData()
          This function will be executed when an update is required.
 
Methods inherited from class org.openstreetmap.josm.io.CacheCustomContent
flushData, getData, getDataString, isCacheValid, updateForce, updateForceString, updateIfRequired, updateIfRequiredString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TMSLayer.CachedAttributionBingAerialTileSource.BingAttributionData

public TMSLayer.CachedAttributionBingAerialTileSource.BingAttributionData()
Method Detail

updateData

protected byte[] updateData()
                     throws java.io.IOException
Description copied from class: CacheCustomContent
This 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:
updateData in class CacheCustomContent<java.io.IOException>
Returns:
the data to cache
Throws:
java.io.IOException


JOSM