Interface OptionHandler
-
- All Known Implementing Classes:
Classifier,J48,J48WithNDCs,NaiveBayesSimple,RemoveSAFilter
public interface OptionHandlerInterface to something that understands options.- Version:
- $Revision: 1.7 $
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz), Len Trigg (trigg@cs.waikato.ac.nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getOptions()Gets the current option settings for the OptionHandler.java.util.EnumerationlistOptions()Returns an enumeration of all the available options..voidsetOptions(java.lang.String[] options)Sets the OptionHandler's options using the given list.
-
-
-
Method Detail
-
listOptions
java.util.Enumeration listOptions()
Returns an enumeration of all the available options..- Returns:
- an enumeration of all available options.
-
setOptions
void setOptions(java.lang.String[] options) throws java.lang.ExceptionSets 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
java.lang.String[] getOptions()
Gets the current option settings for the OptionHandler.- Returns:
- the list of current option settings as an array of strings
-
-