Method Summary |
|
public void | add(ImageOperation instr) Add an ImageOperation to chain. |
public void | addDraw(Draw instr) Add a Draw ImageOperation to the chain. |
public void | addFileset(FileSet set) Add a set of files to be deleted. |
public void | addImageOperation(ImageOperation instr) Add an ImageOperation to chain. |
public void | addRotate(Rotate instr) Add a Rotate ImageOperation to the chain. |
public void | addScale(Scale instr) Add a Scale ImageOperation to the chain. |
public void | execute() Executes the Task. |
public void | processFile(File file) Executes all the chained ImageOperations on the file
specified. |
public void | setDestDir(File destDir) Set the destination directory for manipulated images. |
public void | setEncoding(String encoding) Set the image encoding type. |
public void | setFailOnError(boolean failonerror) Set whether to fail on error. |
public void | setGc(boolean gc) Set whether to invoke Garbage Collection after each image processed. |
public void | setOverwrite(boolean overwrite) Set whether to overwrite a file if there is a naming conflict. |
public void | setSrcdir(File srcDir) Set the source dir to find the image files. |
protected void | validateAttributes() Ensure we have a consistent and legal set of attributes, and set
any internal flags necessary based on different combinations
of attributes. |