|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.kitfox.svg.app.ant.SVGToImageAntTask
public class SVGToImageAntTask
Translates a group of SVG files into images. Parameters: destDir - If present, specifices a directory to write SVG files to. Otherwise writes images to directory SVG file was found in verbose - If true, prints processing information to the console format - File format for output images. The java core javax.imageio.ImageIO class is used for creating images, so format strings will depend on what files your system is configured to handle. By default, "gif", "jpg" and "png" files are guaranteed to be present. If omitted, "png" is used by default. Example: <SVGToImage destDir="${index.java}" format="jpg" verbose="true"> <fileset dir="${dir1}"> <include name="*.svg"/> </fileset> <fileset dir="${dir2}"> <include name="*.svg"/> </fileset> </SVGToImage>
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
SVGToImageAntTask()
Creates a new instance of IndexLoadObjectsAntTask |
Method Summary | |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Adds a set of files. |
void |
execute()
|
java.lang.String |
getFormat()
|
void |
setDestDir(java.io.File destDir)
|
void |
setFormat(java.lang.String format)
|
void |
setVerbose(boolean verbose)
|
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVGToImageAntTask()
Method Detail |
---|
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
public void setVerbose(boolean verbose)
public void setDestDir(java.io.File destDir)
public void addFileset(org.apache.tools.ant.types.FileSet set)
public void execute()
execute
in class org.apache.tools.ant.Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |