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
Modifier and TypeMethodDescriptionvoidaddImageHandler(ImageHandler imageHandler) Add a new image handler.voidClear the cache of images used to display images fast in the Author page.getImageHandlerFor(String extension) Get the XML image handler for a certain content type.voidremoveImageHandler(ImageHandler imageHandler) Remove an image handler.Methods inherited from interface ro.sync.exml.workspace.api.images.ImageUtilitiesSpecificProvider
getIconDecoration, loadIcon
-
Method Details
-
clearImageCache
void clearImageCache()Clear the cache of images used to display images fast in the Author page. -
getImageHandlerFor
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
Add a new image handler. It will have more priority than the builtin handlers.- Parameters:
imageHandler- The image handler.
-
removeImageHandler
Remove an image handler.- Parameters:
imageHandler- The image handler to remove.
-