org.apache.fop.image.analyser

Class BMPReader

Implemented Interfaces:
ImageReader

public class BMPReader
extends java.lang.Object
implements ImageReader

ImageReader object for BMP image type.
Version:
$Id: BMPReader.java 540052 2007-05-21 07:59:05Z jeremias $
Author:
Pankaj Narula

Field Summary

protected static int
BMP_SIG_LENGTH
Length of the BMP header

Method Summary

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

Field Details

BMP_SIG_LENGTH

protected static final int BMP_SIG_LENGTH
Length of the BMP header
Field Value:
46

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.