org.apache.fop.image.analyser

Class EMFReader

Implemented Interfaces:
ImageReader

public class EMFReader
extends java.lang.Object
implements ImageReader

ImageReader object for EMF image type.
Author:
Peter Herweg

Field Summary

protected static int
EMF_SIG_LENGTH
Length of the EMF header

Method Summary

String
getMimeType()
Returns the MIME type supported by this implementation.
FopImage.ImageInfo
verifySignature(String uri, InputStream bis, FOUserAgent ua)

Field Details

EMF_SIG_LENGTH

protected static final int EMF_SIG_LENGTH
Length of the EMF header
Field Value:
88

Method Details

getMimeType

public String getMimeType()
Returns the MIME type supported by this implementation.
Returns:
The MIME type

verifySignature

public FopImage.ImageInfo verifySignature(String uri,
                                          InputStream bis,
                                          FOUserAgent ua)
            throws IOException
Specified by:
verifySignature in interface ImageReader
See Also:
ImageReader

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.