com.itextpdf.tool.xml.pipeline.html
Class AbstractImageProvider
java.lang.Object
com.itextpdf.tool.xml.pipeline.html.AbstractImageProvider
- All Implemented Interfaces:
- ImageProvider
public abstract class AbstractImageProvider
- extends Object
- implements ImageProvider
- Author:
- itextpdf.com
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractImageProvider
public AbstractImageProvider()
retrieve
public Image retrieve(String src)
- Description copied from interface:
ImageProvider
- Retrieve and image from the store.
- Specified by:
retrieve
in interface ImageProvider
- Parameters:
src
- the source found in src attribute
- Returns:
- the
Image
store
public void store(String src,
Image img)
- Description copied from interface:
ImageProvider
- Store allows ImageProvider users to cache the found images.
- Specified by:
store
in interface ImageProvider
- Parameters:
src
- the src attributeimg
- the image.
reset
public void reset()
- Description copied from interface:
ImageProvider
- Resets the cached images.
- Specified by:
reset
in interface ImageProvider
Copyright © 2015. All Rights Reserved.