|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.pattern.NameAbbreviator
public abstract class NameAbbreviator
NameAbbreviator generates abbreviated logger and class names.
Constructor Summary | |
---|---|
NameAbbreviator()
|
Method Summary | |
---|---|
abstract String |
abbreviate(String buf)
Abbreviates a name in a String. |
static NameAbbreviator |
getAbbreviator(String pattern)
Gets an abbreviator. |
static NameAbbreviator |
getDefaultAbbreviator()
Gets default abbreviator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameAbbreviator()
Method Detail |
---|
public static NameAbbreviator getAbbreviator(String pattern)
pattern
- abbreviation pattern.
public static NameAbbreviator getDefaultAbbreviator()
public abstract String abbreviate(String buf)
buf
- buffer, may not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |