com.atlassian.confluence.user.crowd
Class NameUtils
java.lang.Object
com.atlassian.confluence.user.crowd.NameUtils
public class NameUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameUtils
public NameUtils()
getCanonicalName
public static String getCanonicalName(com.atlassian.crowd.model.group.Group group)
getCanonicalName
public static String getCanonicalName(String name)
canonicalMapping
public static com.google.common.collect.ImmutableMap<String,String> canonicalMapping(Iterable<String> names)
- Returns a mapping from lowercase canonical version of each name to the original.
canonicalGroupMapping
public static <G extends com.atlassian.crowd.model.group.Group> com.google.common.collect.ImmutableMap<String,G> canonicalGroupMapping(Iterable<G> groups)
- Returns a mapping from lowercase canonical version of each name to the original group.
Copyright © 2003-2012 Atlassian. All Rights Reserved.