org.apache.fop.image.analyser
Class SVGReader
java.lang.Object
|
+--org.apache.fop.image.analyser.SVGReader
- All Implemented Interfaces:
- ImageReader
- public class SVGReader
- extends java.lang.Object
- implements ImageReader
ImageReader object for SVG document image type.
Field Summary |
protected static org.apache.commons.logging.Log |
log
Logger instance |
static java.lang.String |
SVG_MIME_TYPE
SVG's MIME type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
- Logger instance
SVG_MIME_TYPE
public static final java.lang.String SVG_MIME_TYPE
- SVG's MIME type
SVGReader
public SVGReader()
verifySignature
public FopImage.ImageInfo verifySignature(java.lang.String uri,
java.io.InputStream fis,
FOUserAgent ua)
throws java.io.IOException
- Description copied from interface:
ImageReader
- Verify image type. If the stream does not contain image data expected by
the reader it must reset the stream to the start. This is so that the
next reader can start reading from the start. The reader must not close
the stream unless it can handle the image and it has read the
information.
- Specified by:
verifySignature
in interface ImageReader
- See Also:
ImageReader
getMimeType
public java.lang.String getMimeType()
- Returns the MIME type supported by this implementation.
- Returns:
- The MIME type
Copyright 1999-2006 The Apache Software Foundation. All Rights Reserved.