public class EmailValidator extends RegexpValidator
Constructor and Description |
---|
EmailValidator(String errorMessage)
Creates a validator for checking that a string is a syntactically valid
e-mail address.
|
apply, isValid, toString
getMessage, toResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
alwaysPass, from, from, from, from
andThen
public EmailValidator(String errorMessage)
errorMessage
- the message to display in case the value does not validate.Copyright © 2023. All rights reserved.