Class NameUtils


  • public class NameUtils
    extends Object
    • Constructor Detail

      • NameUtils

        public NameUtils()
    • Method Detail

      • getCanonicalName

        public static String getCanonicalName​(com.atlassian.crowd.model.group.Group group)
      • getCanonicalName

        public static String getCanonicalName​(String name)
      • 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
      • canonicalMappingForGroups

        public 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.
        Since:
        7.0.1