|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.commons.validator.impl.EpEmailValidator
public class EpEmailValidator
EpEmailValidator
is a customized Email validator to implement validation that is more aligned with the RFC specification.
Method Summary | |
---|---|
static EpEmailValidator |
getInstance()
Returns the Singleton instance of this validator. |
boolean |
isValid(java.lang.String email)
Checks if a field has a valid e-mail address. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EpEmailValidator getInstance()
public boolean isValid(java.lang.String email)
Checks if a field has a valid e-mail address.
email
- The value that validation is being performed on. A null
value is considered invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |