Package org.apache.batik.apps.rasterizer
Interface Main.OptionHandler
-
- All Known Implementing Classes:
Main.AbstractOptionHandler,Main.ColorOptionHandler,Main.FloatOptionHandler,Main.NoValueOptionHandler,Main.RectangleOptionHandler,Main.SingleValueOptionHandler,Main.TimeOptionHandler
- Enclosing class:
- Main
public static interface Main.OptionHandlerInterface for handling one command line option
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOptionDescription()Returns the description for this optionintgetOptionValuesLength()Returns the number of values which the option handler requires.voidhandleOption(java.lang.String[] optionValues, SVGConverter c)TheOptionHandlershould configure theSVGConverteraccording to the value of the option.
-
-
-
Method Detail
-
handleOption
void handleOption(java.lang.String[] optionValues, SVGConverter c)TheOptionHandlershould configure theSVGConverteraccording to the value of the option. Should throw an IllegalArgumentException if optionValue is not an acceptable option.
-
getOptionValuesLength
int getOptionValuesLength()
Returns the number of values which the option handler requires. This defines the length of the optionValues array passed to the handler in the handleOption method
-
getOptionDescription
java.lang.String getOptionDescription()
Returns the description for this option
-
-