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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addImageHandler(ImageHandler imageHandler)
Add a new image handler.void
clearImageCache()
Clear the cache of images used to display images fast in the Author page.ImageHandler
getImageHandlerFor(java.lang.String extension)
Get the XML image handler for a certain content type.void
removeImageHandler(ImageHandler imageHandler)
Remove an image handler.-
Methods inherited from interface ro.sync.exml.workspace.api.images.ImageUtilitiesSpecificProvider
getIconDecoration, loadIcon
-
-
-
-
Method Detail
-
clearImageCache
void clearImageCache()
Clear the cache of images used to display images fast in the Author page.
-
getImageHandlerFor
ImageHandler getImageHandlerFor(java.lang.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.
-
-