public class CapabilitiesUtils
extends java.lang.Object
Constructor and Description |
---|
CapabilitiesUtils() |
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.
|
public static java.lang.String listCapabilities(Capabilities c)
c
- the capabilities to get a string representation frompublic static java.lang.String addCapabilities(java.lang.String title, Capabilities c)
title
- the title for the capabilitiesc
- the capabilities