|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwriter2latex.filter.GraphicConverterImpl
public class GraphicConverterImpl
Constructor Summary | |
---|---|
GraphicConverterImpl(com.sun.star.uno.XComponentContext xComponentContext)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphicConverterImpl(com.sun.star.uno.XComponentContext xComponentContext)
Method Detail |
---|
public boolean supportsFormat(java.lang.String sMime)
GraphicConverter
supportsFormat
in interface GraphicConverter
sMime
- a string containing the Mime type
public byte[] convert(byte[] source, java.lang.String sSourceMime, java.lang.String sTargetMime)
GraphicConverter
convert
in interface GraphicConverter
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 |