程序包 weka.core

类 ListOptions

java.lang.Object
weka.core.ListOptions
所有已实现的接口:
OptionHandler, RevisionHandler

public class ListOptions extends Object implements OptionHandler, RevisionHandler
Lists the options of an OptionHandler
版本:
$Revision: 1.2 $
作者:
fracpete (fracpete at waikato dot ac dot nz)
  • 构造器详细资料

    • ListOptions

      public ListOptions()
  • 方法详细资料

    • listOptions

      public Enumeration listOptions()
      Returns an enumeration describing the available options.
      指定者:
      listOptions 在接口中 OptionHandler
      返回:
      an enumeration of all the available options.
    • setOptions

      public void setOptions(String[] options) throws Exception
      Parses a given list of options.
      指定者:
      setOptions 在接口中 OptionHandler
      参数:
      options - the list of options as an array of strings
      抛出:
      Exception - if an option is not supported
    • getOptions

      public String[] getOptions()
      Gets the current settings of this object.
      指定者:
      getOptions 在接口中 OptionHandler
      返回:
      an array of strings suitable for passing to setOptions
    • setClassname

      public void setClassname(String value)
      sets the classname of the class to generate the Javadoc for
      参数:
      value - the new classname
    • getClassname

      public String getClassname()
      returns the current classname
      返回:
      the current classname
    • generateHelp

      public String generateHelp()
      generates a string to print as help on the console
      返回:
      the generated help
    • generate

      public String generate() throws Exception
      generates the options string.
      返回:
      the options string
      抛出:
      Exception - in case the generation fails
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision
    • main

      public static void main(String[] options)
      runs the javadoc producer with the given commandline options
      参数:
      options - the commandline options