|
||||||||||
| 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 ImageEncoderrequest - the ImageRequest
public void configure(ApplicationContext context)
configure in interface Configurablecontext -
public void initialize(ImageRequest request)
throws CodecException
initialize in interface ImageEncoderrequest -
CodecException
public byte[] createFrom(ImageRequest request)
throws CodecException
createFrom in interface ImageEncoderrequest - the imageRequest
CodecExceptionpublic 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 | |||||||||