Interface ImageUtilities

All Superinterfaces:
ImageUtilitiesSpecificProvider

@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface ImageUtilities extends ImageUtilitiesSpecificProvider
Utilities related to registering image handlers...
Since:
18
  • Method Details

    • clearImageCache

      void clearImageCache()
      Clear the cache of images used to display images fast in the Author page.
    • getImageHandlerFor

      ImageHandler getImageHandlerFor(String extension)
      Get the XML image handler for a certain content type.
      Parameters:
      extension - The extension of the image file which should be supported by the handler.
      Returns:
      the XML image handler for a certain content type.
    • addImageHandler

      void addImageHandler(ImageHandler imageHandler)
      Add a new image handler. It will have more priority than the builtin handlers.
      Parameters:
      imageHandler - The image handler.
    • removeImageHandler

      void removeImageHandler(ImageHandler imageHandler)
      Remove an image handler.
      Parameters:
      imageHandler - The image handler to remove.