PatternConverter@Plugin(name="equals", category="Converter") public final class EqualsReplacementConverter extends EqualsBaseReplacementConverter
LOGGERCATEGORY| 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 EqualsReplacementConverter |
newInstance(Configuration config,
String[] options) |
Gets an instance of the class.
|
getName, getStyleClassformatformat, handlesThrowable, isVariablepublic static EqualsReplacementConverter 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)
EqualsBaseReplacementConverterequals in class EqualsBaseReplacementConverterstr - 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.