T - type argument
public class ImageManagerDisk<T> extends AbstractImageManagerWithMemoryCache<T ,BufferedImage >
desiredCacheSize, memoryCache| Constructor and Description |
|---|
ImageManagerDisk(CachePathProvider
Create a new ImageManager that provides tiles from http and backed by a disk-cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
|
BufferedImage |
get(T thing)
|
boolean |
getNetworkState()
|
void |
setNetworkState(boolean state)
Set whether an internet connection shall be used to retrieve tiles.
|
void |
willNeed(T thing)
|
setCacheHintMinimumSizeaddLoadListener, notifyListeners, notifyListenersFail, removeLoadListenerpublic ImageManagerDisk(CachePathProvider<T> resolver)
resolver - the information about how to resolve tiles.
public BufferedImageget(T thing)
public void setNetworkState(boolean state)
state - the network state.
public boolean getNetworkState()
public void destroy()
public void willNeed(T thing)