org.mentawai.rule
Class EmailRule
java.lang.Object
org.mentawai.rule.BasicRule
org.mentawai.rule.RegexRule
org.mentawai.rule.EmailRule
- All Implemented Interfaces:
- Rule
public class EmailRule
- extends RegexRule
A rule to validate an email address.
- Author:
- Sergio Oliveira
|
Field Summary |
static String |
PATTERN
The regex to use for email validation. |
|
Constructor Summary |
EmailRule()
Creates a EmailRule. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATTERN
public static final String PATTERN
- The regex to use for email validation.
- See Also:
- Constant Field Values
EmailRule
public EmailRule()
- Creates a EmailRule.
getInstance
public static EmailRule getInstance()
Copyright © 2011. All Rights Reserved.