Interface ImageProvider

All Known Implementing Classes:
AbstractImageProvider

public interface ImageProvider
A Provider for Images found in HTML.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Resets the cached images.
    Retrieve and image from the store.
    void
    store(String src, Image img)
    Store allows ImageProvider users to cache the found images.
  • Method Details

    • 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.