com.itextpdf.tool.xml.pipeline.html
Class AbstractImageProvider

java.lang.Object
  extended by com.itextpdf.tool.xml.pipeline.html.AbstractImageProvider
All Implemented Interfaces:
ImageProvider

public abstract class AbstractImageProvider
extends Object
implements ImageProvider

Author:
itextpdf.com

Constructor Summary
AbstractImageProvider()
           
 
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
 
Methods inherited from interface com.itextpdf.tool.xml.pipeline.html.ImageProvider
getImageRootPath
 

Constructor Detail

AbstractImageProvider

public AbstractImageProvider()
Method Detail

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 attribute
img - 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.