Class PatternWithReplacementConfiguration

    • Constructor Detail

      • PatternWithReplacementConfiguration

        public PatternWithReplacementConfiguration​(String fieldName,
                                                   String destinationFieldName,
                                                   Pattern pattern,
                                                   String replacement)
        Creats a new instance.
        Parameters:
        fieldName - the field name.
        destinationFieldName - the destination name.
        pattern - the Pattern to use.
        replacement - the replacement value used when the pattern matches.
    • Method Detail

      • getReplacement

        public String getReplacement()
        Gets the replacement or an empty string if no replacement is configured.
        Returns:
        the replacement or an empty string.