PatternConverter
@Plugin(name="equalsIgnoreCase", category="Converter") public final class EqualsIgnoreCaseReplacementConverter extends EqualsBaseReplacementConverter
LOGGER
CATEGORY
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
equals(String str,
StringBuilder buff,
int from,
int len) |
Returns true if the specified String equals the specified section of the specified StringBuilder.
|
static EqualsIgnoreCaseReplacementConverter |
newInstance(Configuration config,
String[] options) |
Gets an instance of the class.
|
getName, getStyleClass
format
format, handlesThrowable, isVariable
public static EqualsIgnoreCaseReplacementConverter newInstance(Configuration config, String[] options)
config
- The current Configuration.options
- pattern options, an array of three elements: pattern, testString, and substitution.protected boolean equals(String str, StringBuilder buff, int from, int len)
EqualsBaseReplacementConverter
equals
in class EqualsBaseReplacementConverter
str
- the String to comparebuff
- the StringBuilder to compare a section offrom
- start index in the StringBuilderlen
- length of the section in the StringBuilderCopyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.