com.itextpdf.tool.xml.pipeline.html
Interface ImageProvider

All Known Implementing Classes:
AbstractImageProvider

public interface ImageProvider

A Provider for Images found in HTML.

Author:
itextpdf.com

Method Summary
 String getImageRootPath()
           
 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.
 

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

reset

void reset()
Resets the cached images.



Copyright © 2012. All Rights Reserved.