Interface ImageProvider

  • All Known Implementing Classes:
    AbstractImageProvider

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

      • retrieve

        Image retrieve​(java.lang.String src)
        Retrieve and image from the store.
        Parameters:
        src - the source found in src attribute
        Returns:
        the Image
      • getImageRootPath

        java.lang.String getImageRootPath()
        Returns:
        a rootpath to set before the src attribute
      • store

        void store​(java.lang.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.