Interface ImageProvider
-
- All Known Implementing Classes:
AbstractImageProvider
public interface ImageProviderA Provider for Images found in HTML.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetImageRootPath()voidreset()Resets the cached images.Imageretrieve(java.lang.String src)Retrieve and image from the store.voidstore(java.lang.String src, Image img)Store allows ImageProvider users to cache the found images.
-
-
-
Method Detail
-
retrieve
Image retrieve(java.lang.String src)
Retrieve and image from the store.- Parameters:
src- the source found in src attribute- Returns:
- the
Image
-
getImageRootPath
java.lang.String getImageRootPath()
- Returns:
- a rootpath to set before the src attribute
-
store
void store(java.lang.String src, Image img)Store allows ImageProvider users to cache the found images.- Parameters:
src- the src attributeimg- the image.
-
reset
void reset()
Resets the cached images.
-
-