Class PropertiesUtil


  • public final class PropertiesUtil
    extends Object
    Utility methods for Schema Properties.
    • Method Detail

      • validateName

        public static void validateName​(String property)
        Checks the input property String against the allowed property pattern.
        Parameters:
        property - String to validate.
        Throws:
        IllegalArgumentException - if property String is invalid.
      • isValidName

        public static boolean isValidName​(String property)
        Checks the input property String against the allowed property pattern.
        Parameters:
        property - String to validate.
        Returns:
        boolean if name is valid
      • stripInvalidCharacters

        public static String stripInvalidCharacters​(String property)