Package net.sf.jasperreports.engine.util
Class JRAbstractImageEncoder
- java.lang.Object
-
- net.sf.jasperreports.engine.util.JRAbstractImageEncoder
-
- All Implemented Interfaces:
JRImageEncoder
- Direct Known Subclasses:
JRJdk14ImageEncoder
public abstract class JRAbstractImageEncoder extends Object implements JRImageEncoder
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRAbstractImageEncoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract byte[]
encode(BufferedImage bi, ImageTypeEnum imageType)
byte[]
encode(Image image, ImageTypeEnum imageType)
-
-
-
Method Detail
-
encode
public byte[] encode(Image image, ImageTypeEnum imageType) throws JRException
- Specified by:
encode
in interfaceJRImageEncoder
- Throws:
JRException
-
encode
public abstract byte[] encode(BufferedImage bi, ImageTypeEnum imageType) throws JRException
- Throws:
JRException
-
-