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 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