Class AbstractValidateString

    • Field Detail

      • m_Replace

        protected String m_Replace
        the replacement string.
    • Constructor Detail

      • AbstractValidateString

        public AbstractValidateString()
    • Method Detail

      • getDefaultReplace

        protected String getDefaultReplace()
        Returns the default replacement string.
        Returns:
        the default
      • setReplace

        public void setReplace​(String value)
        Sets the replacement string for invalid characters.
        Parameters:
        value - the replacement string
      • getReplace

        public String getReplace()
        Returns the replacement string for invalid characters.
        Returns:
        the replacement string
      • replaceTipText

        public String replaceTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • process

        protected abstract String process​(String input,
                                          String replace)
                                   throws Exception
        Performs the actual validation.
        Parameters:
        input - the input string
        replace - the replacement string for invalide characters
        Throws:
        Exception