|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.util.UserUtils
public class UserUtils
General utility class for email related methods.
| Field Summary | |
|---|---|
static java.lang.String |
EMAIL_REGEX
|
| Constructor Summary | |
|---|---|
UserUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String[] |
getFirstNameLastName(java.lang.String fullname)
Splits the first name and last name out from a full name string. |
static boolean |
isValidEmail(java.lang.String email)
Returns true if an email address is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EMAIL_REGEX
| Constructor Detail |
|---|
public UserUtils()
| Method Detail |
|---|
public static boolean isValidEmail(java.lang.String email)
email - potential email address.
public static java.lang.String[] getFirstNameLastName(java.lang.String fullname)
fullname - the fullname to parse.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||