org.apache.fop.image.analyser
Class ImageReaderFactory
java.lang.Object
org.apache.fop.image.analyser.ImageReaderFactory
- public class ImageReaderFactory
- extends Object
Factory for ImageReader objects.
- Author:
- Pankaj Narula
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formats
protected static List formats
ImageReaderFactory
public ImageReaderFactory()
registerImageReader
public static void registerImageReader(String classname)
throws ClassNotFoundException
- Registers a new ImageReader implementation.
- Parameters:
classname - The fully qualified classname
- Throws:
ClassNotFoundException - In case the given class cannot be found
registerImageReader
public static void registerImageReader(Class clazz)
- Registers a new ImageReader implementation.
- Parameters:
clazz - The ImageReader implementation class.
Make
public static ImageReader Make(String uri,
InputStream in)
throws FopImageException
- ImageReader maker.
- Parameters:
uri - URI of the imagein - image input stream
- Returns:
- ImageReader object
- Throws:
FopImageException - an error occured during creation or
image type is not supported
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.