Class PreloaderWMF

  • All Implemented Interfaces:
    org.apache.xmlgraphics.image.loader.spi.ImagePreloader

    public class PreloaderWMF
    extends org.apache.xmlgraphics.image.loader.impl.AbstractImagePreloader
    Image preloader for WMF images (Windows Metafile).
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private class  PreloaderWMF.Loader
      This method is put in another class so that the class loader does not attempt to load Batik related classes when constructing the WMFPreloader class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean batikAvailable  
      private static org.apache.commons.logging.Log log
      Logger instance
      • Fields inherited from interface org.apache.xmlgraphics.image.loader.spi.ImagePreloader

        DEFAULT_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      PreloaderWMF()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.xmlgraphics.image.loader.ImageInfo preloadImage​(java.lang.String uri, javax.xml.transform.Source src, org.apache.xmlgraphics.image.loader.ImageContext context)
      • Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImagePreloader

        getHeader, getPriority
      • Methods inherited from class java.lang.Object

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

      • log

        private static org.apache.commons.logging.Log log
        Logger instance
      • batikAvailable

        private boolean batikAvailable
    • Constructor Detail

      • PreloaderWMF

        public PreloaderWMF()
    • Method Detail

      • preloadImage

        public org.apache.xmlgraphics.image.loader.ImageInfo preloadImage​(java.lang.String uri,
                                                                          javax.xml.transform.Source src,
                                                                          org.apache.xmlgraphics.image.loader.ImageContext context)
                                                                   throws java.io.IOException
        Throws:
        java.io.IOException