Class EqualsIgnoreCaseReplacementConverter

All Implemented Interfaces:

@Plugin(name="equalsIgnoreCase", category="Converter") public final class EqualsIgnoreCaseReplacementConverter extends EqualsBaseReplacementConverter
Equals ignore case pattern converter.
  • Method Details

    • newInstance

      public static EqualsIgnoreCaseReplacementConverter newInstance(Configuration config, String[] options)
      Gets an instance of the class.
      config - The current Configuration.
      options - pattern options, an array of three elements: pattern, testString, and substitution.
      instance of class.
    • equals

      protected boolean equals(String str, StringBuilder buff, int from, int len)
      Description copied from class: EqualsBaseReplacementConverter
      Returns true if the specified String equals the specified section of the specified StringBuilder.
      Specified by:
      equals in class EqualsBaseReplacementConverter
      str - the String to compare
      buff - the StringBuilder to compare a section of
      from - start index in the StringBuilder
      len - length of the section in the StringBuilder
      true if equal, false otherwise