Class ValidationUtils


  • public class ValidationUtils
    extends Object
    Provides utility methods around validation.
    Since:
    4.2.0
    • Constructor Detail

      • ValidationUtils

        public ValidationUtils()
    • Method Detail

      • isValidEmail

        public static boolean isValidEmail​(String email)
        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