public static boolean isUsableTypeName(java.lang.String candidate)
For type names we currently work with any non-empty string that does not contain
a ':' or whitespace or forward slash or backslash.
However we discourage things that are not OSGi symbolic names;
In some places (eg bundles) the use of OSGi symbolic names may be enforced.
public static boolean isGoodTypeName(java.lang.String candidate)
We recommend type names be OSGi symbolic names, such as:
Note that this is more permissive than Java, allowing hyphens and
allowing segments to start with numbers.
However it is also more restrictive: OSGi does not allow
accented characters or most punctuation. Only hyphens and underscores are allowed
in segment names, and periods are allowed only as segment separators.
public static boolean isUsableVersion(java.lang.String candidate)