|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphicConverter
A simple interface for a graphic converter which converts between various graphics formats
Method Summary | |
---|---|
byte[] |
convert(byte[] source,
java.lang.String sSourceMime,
java.lang.String sTargetMime)
Convert a graphics file from one format to another |
boolean |
supportsFormat(java.lang.String sMime)
Check whether a certain graphics format is supported by the converter |
Method Detail |
---|
boolean supportsFormat(java.lang.String sMime)
sMime
- a string containing the Mime type
byte[] convert(byte[] source, java.lang.String sSourceMime, java.lang.String sTargetMime)
source
- a byte array containing the source graphicsSourceMime
- a string containing the Mime type of the sourcesTargetMime
- a string containing the desired Mime type of the target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |