net.sf.jcgm.image.loader.cgm
Class PreloaderCGM

java.lang.Object
  extended by AbstractImagePreloader
      extended by net.sf.jcgm.image.loader.cgm.PreloaderCGM

public class PreloaderCGM
extends AbstractImagePreloader

Preloader for CGM files.

Note: this class relies on the CGMImageReader Image I/O plugin to determine the image's size.

This implementation is largely inspired from the SVG Image preloader provided with the XML graphics library.

Since:
Apr 14, 2009
Version:
$Id: PreloaderCGM.java 3 2009-10-16 08:51:15Z phica $
Author:
xphc (Philippe Cadé)
See Also:
ImageLoaderCGM, xmlgraphics.apache.org

Constructor Summary
PreloaderCGM()
           
 
Method Summary
 ImageInfo preloadImage(java.lang.String originalURI, javax.xml.transform.Source src, ImageContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreloaderCGM

public PreloaderCGM()
Method Detail

preloadImage

public ImageInfo preloadImage(java.lang.String originalURI,
                              javax.xml.transform.Source src,
                              ImageContext context)
                       throws ImageException,
                              java.io.IOException
Throws:
ImageException
java.io.IOException


Part of the jcgm library http://jcgm.sourceforge.net/