org.apache.fop.image
Class EPSImage

java.lang.Object
  extended byorg.apache.fop.image.AbstractFopImage
      extended byorg.apache.fop.image.EPSImage
All Implemented Interfaces:
FopImage

public class EPSImage
extends AbstractFopImage

See Also:
AbstractFopImage, FopImage

Field Summary
 
Fields inherited from class org.apache.fop.image.AbstractFopImage
m_bitmaps, m_bitmapsSize, m_bitsPerPixel, m_colorSpace, m_compressionType, m_height, m_href, m_imageReader, m_invertImage, m_isTransparent, m_transparentColor, m_width
 
Constructor Summary
EPSImage(URL href)
           
EPSImage(URL href, ImageReader imgReader)
           
 
Method Summary
 int[] getBBox()
          Return the bounding box
 String getDocName()
          Return the name of the eps
 byte[] getEPSImage()
           
protected  void loadImage()
          Load image data and initialize its properties.
 
Methods inherited from class org.apache.fop.image.AbstractFopImage
close, getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getPDFFilter, getRessourceBytes, getRessourceBytesSize, getTransparentColor, getURL, getWidth, invertImage, isTransparent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPSImage

public EPSImage(URL href)
         throws FopImageException

EPSImage

public EPSImage(URL href,
                ImageReader imgReader)
         throws FopImageException
Method Detail

getDocName

public String getDocName()
Return the name of the eps


getBBox

public int[] getBBox()
Return the bounding box


loadImage

protected void loadImage()
                  throws FopImageException
Description copied from class: AbstractFopImage
Load image data and initialize its properties. Subclasses need to implement this method.

Specified by:
loadImage in class AbstractFopImage
Throws:
FopImageException - an error occured during loading

getEPSImage

public byte[] getEPSImage()
                   throws FopImageException
Throws:
FopImageException


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