public abstract class AbstractImageProvider extends Object implements ImageProvider
Constructor and Description |
---|
AbstractImageProvider() |
Modifier and Type | Method and Description |
---|---|
void |
reset()
Resets the cached images.
|
Image |
retrieve(String src)
Retrieve and image from the store.
|
void |
store(String src, Image img)
Store allows ImageProvider users to cache the found images.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImageRootPath
public Image retrieve(String src)
ImageProvider
retrieve
in interface ImageProvider
src
- the source found in src attribute
Image
public void store(String src, Image img)
ImageProvider
store
in interface ImageProvider
src
- the src attribute
img
- the image.
public void reset()
ImageProvider
reset
in interface ImageProvider
Copyright © 2016. All rights reserved.