Package weka.core
Class CapabilitiesUtils
java.lang.Object
weka.core.CapabilitiesUtils
Helper class for Capabilities.
- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
addCapabilities
(String title, Capabilities c) generates a string from the capabilities, suitable to add to the help text.static String
returns a comma-separated list of all the capabilities, excluding interface-based ones.
-
Constructor Details
-
CapabilitiesUtils
public CapabilitiesUtils()
-
-
Method Details
-
listCapabilities
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
generates a string from the capabilities, suitable to add to the help text.- Parameters:
title
- the title for the capabilitiesc
- the capabilities- Returns:
- a string describing the capabilities
-