Package weka.core

# Class CapabilitiesUtils

java.lang.Object
weka.core.CapabilitiesUtils

public class CapabilitiesUtils extends Object
Helper class for Capabilities.

Version:
  $Revision$
Author:
  FracPete (fracpete at waikato dot ac dot nz)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CapabilitiesUtils()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static String`
  `addCapabilities(String title, Capabilities c)`
  generates a string from the capabilities, suitable to add to the help text.
  `static String`
  `listCapabilities(Capabilities c)`
  returns a comma-separated list of all the capabilities, excluding interface-based ones.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CapabilitiesUtils

    public CapabilitiesUtils()

- ## Method Details

  - ### listCapabilities

    public static String listCapabilities(Capabilities c)
    returns a comma-separated list of all the capabilities, excluding interface-based ones.
    Parameters:
      `c` - the capabilities to get a string representation from
    Returns:
      the string describing the capabilities

  - ### addCapabilities

    public static String addCapabilities(String title, Capabilities c)
    generates a string from the capabilities, suitable to add to the help text.
    Parameters:
      `title` - the title for the capabilities
      `c` - the capabilities
    Returns:
      a string describing the capabilities