|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.image.GifEncoder
GifEncoder
implements the ImageEncoder
interface
and hence can take a java.awt.Image object and encode it as a GIF
output stream. It also handles alpha transparency in the source image.
Constructor Summary | |
GifEncoder()
Constructs a GifEncoder ready to start encoding |
Method Summary | |
void |
encode(java.awt.Image image,
java.io.OutputStream out)
|
java.lang.String |
getContentType()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GifEncoder()
Method Detail |
public void encode(java.awt.Image image, java.io.OutputStream out) throws java.io.IOException
encode
in interface ImageEncoder
java.io.IOException
ImageEncoder.encode(java.awt.Image, java.io.OutputStream)
public java.lang.String getContentType()
getContentType
in interface ImageEncoder
ImageEncoder.getContentType()
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |