@Deprecated public class EmailValidator extends RegexpValidator
AbstractStringValidator for more information.
An empty string or a null is always accepted - use the required flag on
fields or a separate validator (or override RegexpValidator.isValidValue(String)) to
fail on empty values.
Validator.EmptyValueException, Validator.InvalidValueException| Constructor and Description |
|---|
EmailValidator(String errorMessage)
Deprecated.
Creates a validator for checking that a string is a syntactically valid
e-mail address.
|
isValidValuegetTypegetErrorMessage, isValid, isValidType, setErrorMessage, validatepublic EmailValidator(String errorMessage)
errorMessage - the message to display in case the value does not validate.Copyright © 2019 Vaadin Ltd. All rights reserved.