public class MailAddressValidator extends Object
Constructor and Description |
---|
MailAddressValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(String addr)
Check if the given email address is valid
|
boolean |
validate(String value,
String rule)
Determines if the value is a valid email address string
|
public boolean validate(String value, String rule)
value
- string value to validaterule
- not used by this methodpublic boolean validate(String addr)
addr
- value to testCopyright © 2010-2018, ForgeRock All Rights Reserved.