Class ISValidation


  • public class ISValidation
    extends Object
    This class is an utility to detect the specified pattern in the given string
    • Constructor Detail

      • ISValidation

        public ISValidation()
    • Method Detail

      • validate

        public static boolean validate​(String str,
                                       String regEx,
                                       Debug tmpDebug)
        Checks for invalid characters in the source string .
        Parameters:
        str - Source string which should be validated.
        regEx - Pattern for which to search.
        tmpDebug - Debug object used for logging debug info.
        Returns:
        false when it detects specified pattern within source string which need to be validated OR if source string is null.