org.apache.fop.image.analyser
Class TIFFReader
java.lang.Object
org.apache.fop.image.analyser.AbstractImageReader
org.apache.fop.image.analyser.TIFFReader
- All Implemented Interfaces:
- ImageReader
- public class TIFFReader
- extends AbstractImageReader
ImageReader object for TIFF image type.
- Author:
- Pankaj Narula, Michael Lee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIFF_SIG_LENGTH
protected static final int TIFF_SIG_LENGTH
- See Also:
- Constant Field Values
header
protected byte[] header
TIFFReader
public TIFFReader()
verifySignature
public boolean verifySignature(String uri,
BufferedInputStream fis)
throws IOException
- Description copied from interface:
ImageReader
- Verify image type.
- Specified by:
verifySignature
in interface ImageReader
- Specified by:
verifySignature
in class AbstractImageReader
- Throws:
IOException
getMimeType
public String getMimeType()
- Description copied from interface:
ImageReader
- Return correspondig mime type.
- Specified by:
getMimeType
in interface ImageReader
- Specified by:
getMimeType
in class AbstractImageReader
setDimension
protected void setDimension()
setDefaultHeader
protected void setDefaultHeader()
throws IOException
- Throws:
IOException
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.