Class PatternReplaceCharFilterDescriptor

  • All Implemented Interfaces:
    CharFilterDescriptor

    public class PatternReplaceCharFilterDescriptor
    extends Object
    implements CharFilterDescriptor
    A char filter that replace a string matching the given pattern with the specified replacement. Matching groups from a pattern can be used in a replacement string.
    Since:
    7.0
    • Constructor Detail

      • PatternReplaceCharFilterDescriptor

        public PatternReplaceCharFilterDescriptor​(Pattern pattern,
                                                  String replacement)
    • Method Detail

      • getPattern

        public Pattern getPattern()
      • getReplacement

        public String getReplacement()