Package com.avoka.fc.core.util
Class ValidationUtils
java.lang.Object
com.avoka.fc.core.util.ValidationUtils
Provides utility methods around validation.
- Since:
- 4.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isValidEmail
(String email) Validate email address.
-
Constructor Details
-
ValidationUtils
public ValidationUtils()
-
-
Method Details
-
isValidEmail
Validate email address. This is a simple version of regex validation that handles 99% of the case.- Parameters:
email
- email address needs to validate- Returns:
- true if given string is a valid email address
-