|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mvdb.maven.plugins.svg.SVGConverter
public class SVGConverter
This class converts svg images to png, jpg and tiff.
Constructor Summary | |
---|---|
SVGConverter()
|
Method Summary | |
---|---|
void |
convert()
Converts the svg to the type specified in getType() It defaults to png. |
protected void |
convertTo(org.apache.batik.transcoder.image.ImageTranscoder transcoder,
java.lang.String extension)
Converts the svg file to the target file |
void |
convertToJPG()
Convert the svg to JPEG format |
void |
convertToPNG()
Convert the svg to PNG format |
java.lang.String |
getDestination()
|
java.lang.String |
getFile()
|
java.lang.String |
getType()
|
void |
setDestination(java.lang.String destination)
|
void |
setFile(java.lang.String file)
|
void |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGConverter()
Method Detail |
---|
public void convert()
public void convertToPNG()
public void convertToJPG()
protected void convertTo(org.apache.batik.transcoder.image.ImageTranscoder transcoder, java.lang.String extension)
transcoder
- the transcoder to useextension
- the filename extension to usepublic java.lang.String getDestination()
public java.lang.String getFile()
public java.lang.String getType()
public void setDestination(java.lang.String destination)
destination
- the destinationpublic void setFile(java.lang.String file)
file
- the filepublic void setType(java.lang.String type)
type
- the type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |