|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.pattern.NameAbbreviator
public abstract class NameAbbreviator
NameAbbreviator generates abbreviated logger and class names.
Constructor Summary | |
---|---|
NameAbbreviator()
|
Method Summary | |
---|---|
abstract void |
abbreviate(int nameStart,
StringBuffer buf)
Abbreviates a name in a StringBuffer. |
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 void abbreviate(int nameStart, StringBuffer buf)
nameStart
- starting position of name in buf.buf
- buffer, may not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |