Package weka.core

Class CapabilitiesUtils


  • public class CapabilitiesUtils
    extends Object
    Helper class for Capabilities.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • CapabilitiesUtils

        public CapabilitiesUtils()
    • Method Detail

      • 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