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.2 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz), Len Trigg (trigg@cs.waikato.ac.nz)

Method Index

 o getOptions()
Gets the current option settings for the OptionHandler.
 o listOptions()
Returns an enumeration of all the available options.
 o setOptions(String[])
Sets the OptionHandler's options using the given list.

Methods

 o listOptions
 public abstract Enumeration listOptions()
Returns an enumeration of all the available options.

Returns:
an enumeration of all available options
 o setOptions
 public abstract void setOptions(String options[]) throws 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: Exception
if an option is not supported
 o getOptions
 public abstract 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