public class ImageObjectCache extends Object
| Constructor and Description |
|---|
ImageObjectCache() |
| Modifier and Type | Method and Description |
|---|---|
ImageObject |
getImage(String key)
Returns a cached image or null if not present.
|
boolean |
hasImage(String key)
Checks whether there is a cached image identified by the given key.
|
void |
putImage(String key,
ImageObject image)
Registers an image with the cache.
|
public ImageObject getImage(String key)
key - the image's cache keypublic void putImage(String key, ImageObject image)
image - the ImageObjectkey - the image's cache keypublic boolean hasImage(String key)
key - the image's cache keyCopyright © 2026 Apache Software Foundation. All rights reserved.