|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccs.cpc.impl.SunJpegCodec
public class SunJpegCodec
Constructor Summary | |
---|---|
SunJpegCodec()
|
Method Summary | |
---|---|
CpcImage |
decode(java.lang.String mimeType,
byte[] wad)
Decode the supplied image data synchronously, returning an image which is ready to use. |
java.lang.String |
getDescription()
Return a user-friendly one-line description of this decoder. |
java.lang.String[] |
getSupportedTypes()
Return the list of MIME types which this decoder can handle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SunJpegCodec()
Method Detail |
---|
public java.lang.String[] getSupportedTypes()
getSupportedTypes
in interface CpcImageDecoder
public java.lang.String getDescription()
ccs.utils.MsgHelper
before being displayed.
getDescription
in interface CpcImageDecoder
public CpcImage decode(java.lang.String mimeType, byte[] wad)
acceptsStream
returns true, this will not
be called.
decode
in interface CpcImageDecoder
mimeType
- The apparent MIME type of the image data. You may be able to
tell different (eg. by reading magic from the start of the data).wad
- The input data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |