org.apache.fop.image.analyser
Class EPSReader

java.lang.Object
  extended byorg.apache.fop.image.analyser.AbstractImageReader
      extended byorg.apache.fop.image.analyser.EPSReader
All Implemented Interfaces:
ImageReader

public class EPSReader
extends AbstractImageReader

ImageReader object for SVG document image type.


Field Summary
 
Fields inherited from class org.apache.fop.image.analyser.AbstractImageReader
height, imageStream, width
 
Constructor Summary
EPSReader()
           
 
Method Summary
 int[] getBBox()
          Return the BoundingBox
 byte[] getEpsFile()
           
 java.lang.String getMimeType()
          Return correspondig mime type.
 byte[] getPreview()
           
 boolean verifySignature(java.lang.String uri, java.io.BufferedInputStream fis)
          Verify image type.
 
Methods inherited from class org.apache.fop.image.analyser.AbstractImageReader
getHeight, getInputStream, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPSReader

public EPSReader()
Method Detail

verifySignature

public boolean verifySignature(java.lang.String uri,
                               java.io.BufferedInputStream fis)
                        throws java.io.IOException
Description copied from interface: ImageReader
Verify image type.

Specified by:
verifySignature in interface ImageReader
Specified by:
verifySignature in class AbstractImageReader
Throws:
java.io.IOException

getEpsFile

public byte[] getEpsFile()

getPreview

public byte[] getPreview()

getMimeType

public java.lang.String getMimeType()
Description copied from interface: ImageReader
Return correspondig mime type.

Specified by:
getMimeType in interface ImageReader
Specified by:
getMimeType in class AbstractImageReader

getBBox

public int[] getBBox()
Return the BoundingBox



Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.