|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.image.analyser.AbstractImageReader
Base class implementing ImageReader.
ImageReader
Field Summary | |
protected int |
height
Image height. |
protected BufferedInputStream |
imageStream
Image stream. |
protected int |
width
Image width. |
Constructor Summary | |
AbstractImageReader()
|
Method Summary | |
int |
getHeight()
Return the image height. |
BufferedInputStream |
getInputStream()
Return the used InputStream. |
abstract String |
getMimeType()
Return correspondig mime type. |
int |
getWidth()
Return the image width. |
abstract boolean |
verifySignature(String uri,
BufferedInputStream fis)
Verify image type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int width
protected int height
protected BufferedInputStream imageStream
Constructor Detail |
public AbstractImageReader()
Method Detail |
public abstract boolean verifySignature(String uri, BufferedInputStream fis) throws IOException
ImageReader
verifySignature
in interface ImageReader
fis
- Image buffered input stream
IOException
- io errorpublic int getHeight()
ImageReader
getHeight
in interface ImageReader
public int getWidth()
ImageReader
getWidth
in interface ImageReader
public abstract String getMimeType()
ImageReader
getMimeType
in interface ImageReader
public BufferedInputStream getInputStream()
ImageReader
getInputStream
in interface ImageReader
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |