Class PreloaderWMF
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.AbstractImagePreloader
org.apache.fop.image.loader.batik.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 ClassesModifier and TypeClassDescriptionprivate final classThis 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
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static org.apache.commons.logging.LogLogger instanceFields inherited from interface org.apache.xmlgraphics.image.loader.spi.ImagePreloader
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xmlgraphics.image.loader.ImageInfopreloadImage(String uri, Source src, org.apache.xmlgraphics.image.loader.ImageContext context) Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImagePreloader
getHeader, getPriority
-
Field Details
-
log
private static org.apache.commons.logging.Log logLogger instance -
batikAvailable
private boolean batikAvailable
-
-
Constructor Details
-
PreloaderWMF
public PreloaderWMF()
-
-
Method Details
-
preloadImage
public org.apache.xmlgraphics.image.loader.ImageInfo preloadImage(String uri, Source src, org.apache.xmlgraphics.image.loader.ImageContext context) throws IOException - Throws:
IOException
-