Interface ImageProvider
-
- All Known Implementing Classes:
AbstractImageProvider
public interface ImageProvider
A Provider for Images found in HTML.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getImageRootPath()
void
reset()
Resets the cached images.Image
retrieve(java.lang.String src)
Retrieve and image from the store.void
store(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.
-
-