Class NameUtils
- java.lang.Object
-
- com.atlassian.confluence.user.crowd.NameUtils
-
public class NameUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description NameUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <G extends com.atlassian.crowd.model.group.Group>
Map<String,G>canonicalMappingForGroups(Iterable<G> groups)
Returns a mapping from lowercase canonical version of each name to the original group.static Map<String,String>
canonicalMappingForNames(Iterable<String> names)
Returns a mapping from lowercase canonical version of each name to the original.static String
getCanonicalName(com.atlassian.crowd.model.group.Group group)
static String
getCanonicalName(String name)
-
-
-
Method Detail
-
getCanonicalName
public static String getCanonicalName(com.atlassian.crowd.model.group.Group group)
-
canonicalMappingForNames
public static Map<String,String> canonicalMappingForNames(Iterable<String> names)
Returns a mapping from lowercase canonical version of each name to the original.- Since:
- 7.0.1
-
-