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