net.sf.clichart.main.cliserver
Class StringOptionSetter

java.lang.Object
  extended by net.sf.clichart.main.cliserver.AbstractOptionSetter
      extended by net.sf.clichart.main.cliserver.StringOptionSetter
All Implemented Interfaces:
OptionSetter

public class StringOptionSetter
extends AbstractOptionSetter

Option handler for setting a string property

Author:
johnd

Constructor Summary
StringOptionSetter(java.lang.String setterName)
           
 
Method Summary
protected  java.lang.Class[] getParameterType()
           
protected  void setValue(OptionsBean options, java.lang.reflect.Method method, java.lang.String command, java.lang.String argument)
           
 
Methods inherited from class net.sf.clichart.main.cliserver.AbstractOptionSetter
setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringOptionSetter

public StringOptionSetter(java.lang.String setterName)
Method Detail

setValue

protected void setValue(OptionsBean options,
                        java.lang.reflect.Method method,
                        java.lang.String command,
                        java.lang.String argument)
                 throws java.lang.IllegalAccessException,
                        InvalidOptionsException,
                        java.lang.reflect.InvocationTargetException
Specified by:
setValue in class AbstractOptionSetter
Throws:
java.lang.IllegalAccessException
InvalidOptionsException
java.lang.reflect.InvocationTargetException

getParameterType

protected java.lang.Class[] getParameterType()
Specified by:
getParameterType in class AbstractOptionSetter