|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jmage.encoder.GifEncoder
public class GifEncoder
Encodes Images in GIF format
Field Summary | |
---|---|
static org.apache.log4j.Logger |
log
|
Constructor Summary | |
---|---|
GifEncoder()
Default Constructor |
Method Summary | |
---|---|
boolean |
canHandle(ImageRequest request)
Test whether the ImageEncoder can handle the format |
void |
configure(ApplicationContext context)
Configure encoder properties |
byte[] |
createFrom(ImageRequest request)
Encode the image in the specified format |
void |
initialize(ImageRequest request)
Initialize the ImageEncoder for a particular encodingformat in the ImageRequest |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static org.apache.log4j.Logger log
Constructor Detail |
---|
public GifEncoder()
Method Detail |
---|
public boolean canHandle(ImageRequest request)
canHandle
in interface ImageEncoder
request
- the ImageRequest
public void configure(ApplicationContext context)
configure
in interface Configurable
context
- public void initialize(ImageRequest request) throws CodecException
initialize
in interface ImageEncoder
request
-
CodecException
public byte[] createFrom(ImageRequest request) throws CodecException
createFrom
in interface ImageEncoder
request
- the imageRequest
CodecException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |