Class ImageIOPluginScanner

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

    public final class ImageIOPluginScanner
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
    Scans for ImageIO plugins when the application context is loaded.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
      Ensure that extensions for ImageIO (like the reader and writer for TIFF) are registered.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageIOPluginScanner

        public ImageIOPluginScanner()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.event.ContextRefreshedEvent event)
        Ensure that extensions for ImageIO (like the reader and writer for TIFF) are registered. This is required for certain Windows systems.
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
        Parameters:
        event - the startup event. Not needed here but required for API.