All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Interface weka.core.OptionHandler
- public interface OptionHandler
Interface to something that understands options.
- Version:
- $Revision: 1.4 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
getOptions()
- Gets the current option settings for the OptionHandler.
listOptions()
- Returns an enumeration of all the available options.
setOptions(String[])
- Sets the OptionHandler's options using the given list.
listOptions
public java.util.Enumeration listOptions()
Returns an enumeration of all the available options.
- Returns:
- an enumeration of all available options
setOptions
public void setOptions(java.lang.String options[]) throws java.lang.Exception
Sets the OptionHandler's options using the given list. All options
will be set (or reset) during this call (i.e. incremental setting
of options is not possible).
- Parameters:
options
- the list of options as an array of strings
- Throws:
- java.lang.Exception - if an option is not supported
getOptions
public java.lang.String[] getOptions()
Gets the current option settings for the OptionHandler.
- Returns:
- the list of current option settings as an array of strings
All Packages Class Hierarchy This Package Previous Next Index WEKA's home