com.atlassian.bamboo.notification
Class EmailValidator

java.lang.Object
  extended by com.atlassian.bamboo.notification.EmailValidator

public class EmailValidator
extends java.lang.Object

This class checks email addresses. The regular expression used to validate that the string is an email address is:

 \b^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$\b
 

Author:
kbrazulewicz@atlassian.com
See Also:
RFC 2822 section 3.4.1, http://www.regular-expressions.info/email.html

Method Summary
static boolean isValidEmailAddressFormat(java.lang.String emailAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValidEmailAddressFormat

public static boolean isValidEmailAddressFormat(java.lang.String emailAddress)


Copyright © 2012 Atlassian. All Rights Reserved.