Method Summary |
|
public void | addFileset(FileSet set) Reads fileset elements. |
protected boolean | allowedToSetQuality(DestinationType type) Checks if the quality value can be set. |
public void | execute() Validates and sets input values and files, then starts the conversion
process. |
protected Rectangle2D | getAreaOfInterest(String area) Returns a valid Area of Interest (AOI) as a Rectangle2D object.
Parameters: area - AOI input area. |
protected Color | getBackgroundColor(String argb) Returns a valid background color object.
Parameters: argb - String containing color channel values. |
protected float | getQuality(float quality) Returns a valid quality value.
Parameters: quality - Input quality value to be tested. |
protected DestinationType | getResultType(String type) Returns the correct result image type object.
Parameters: type - Result image type as a string. |
protected String[] | getSourceFiles() Gets source files from the task parameters and child elements,
combines those to a one list, and returns the list. |
public void | setArea(String area) Gets area attribute value. |
public void | setBg(String bg) Gets bg attribute value. |
public void | setClassname(String value) Sets classname of an XML parser. |
public void | setDest(File file) Gets dest attribute value. |
public void | setDestdir(File dir) Gets destdir attribute value. |
public void | setDpi(float dpi) Gets dpi attribute value.
The value have to be a positive float. |
public void | setHeight(float height) Gets height attribute value. |
public void | setLang(String language) Gets lang attribute value. |
public void | setMaxheight(float height) Gets maxheight attribute value. |
public void | setMaxwidth(float width) Gets maxwidth attribute value. |
public void | setMedia(ValidMediaTypes media) Gets media attribute value. |
public void | setQuality(float quality) Gets quality attribute value.
The value have to be a float between 0 and 1 excluded. |
protected void | setRasterizingParameters() Checks and sets parameter values to the converter.
Some invalid values are just swallowed and default values are
used instead. |
public void | setResult(ValidImageTypes type) Gets result attribute value. |
public void | setSrc(File file) Gets src attribute value. |
public void | setSrcdir(File dir) Gets srcdir attribute value. |
public void | setWidth(float width) Gets width attribute value. |