org.apache.batik.apps.rasterizer
Class Main.AbstractOptionHandler
public abstract static
class
Main.AbstractOptionHandler
extends Object
implements Main.OptionHandler
This abstract implementation of the OptionHandler interface
throws an exception if the number of arguments passed to the
handleOption method does not match the number of expected
optionValues. If the size matches, the safeHandleOption
method is invoked.
Subclasses can implement the safeHandleOption method
assuming that the input array size is correct.
public void handleOption(String[] optionValues,
SVGConverter c)
public abstract void safeHandleOption(String[] optionValues,
SVGConverter c)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.