weka.core

## Class CapabilitiesUtils

- java.lang.Object
- - weka.core.CapabilitiesUtils

-     public class CapabilitiesUtils
      extends java.lang.Object

  Helper class for Capabilities.
  Version:
    $Revision$
  Author:
    FracPete (fracpete at waikato dot ac dot nz)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CapabilitiesUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `addCapabilities(java.lang.String title, Capabilities c)` generates a string from the capabilities, suitable to add to the help text.
    `static java.lang.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 Detail

    - #### CapabilitiesUtils

          public CapabilitiesUtils()

  - ### Method Detail

    - #### listCapabilities

          public static java.lang.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 java.lang.String addCapabilities(java.lang.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