Class ReplaceConfig


  • public class ReplaceConfig
    extends Object

    Replacement definition.

    A ColConfig may contain any number of replacement definitions. For every definition, the replacement of the retrieved column content string is delegated to String.replaceAll.

    XML attributes and subelements
    Name Description A/E M U
    regex the regular expression A x x
    replacement the replacement string A x x

    A/E: attribute or subelement
    M: mandatory
    U: unique

    Author:
    Uwe Finke
    • Constructor Detail

      • ReplaceConfig

        public ReplaceConfig()
        Constructor.
    • Method Detail

      • getRegex

        public String getRegex()
        Returns the regular expression.
        Returns:
        regex pattern
      • setRegex

        public void setRegex​(String regex)
        Sets the regular expression.
        Parameters:
        regex - pattern
      • getReplacement

        public String getReplacement()
        Returns the replacement string.
        Returns:
        replacement
      • setReplacement

        public void setReplacement​(String replacement)
        Sets the replacement string.
        Parameters:
        replacement - text which replaces the pattern