Class EmailAddressValidator
java.lang.Object
com.broadleafcommerce.dataimport.service.validation.EmailAddressValidator
- All Implemented Interfaces:
ImportFieldValidator
Validates that a given address string matches the email regular expression pattern.
- Author:
- Vitalii Voronkov (vvoronkov)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvalidate
(String address, ImportFieldConfig ifg) Returns false if this field does not pass validation.
-
Constructor Details
-
EmailAddressValidator
public EmailAddressValidator()
-
-
Method Details
-
validate
Description copied from interface:ImportFieldValidator
Returns false if this field does not pass validation.- Specified by:
validate
in interfaceImportFieldValidator
- Returns:
- result of validation
ValidationResult
-