public abstract class NameAbbreviator extends Object
Constructor and Description |
---|
NameAbbreviator() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static NameAbbreviator getAbbreviator(String pattern)
pattern
- abbreviation pattern.public static NameAbbreviator getDefaultAbbreviator()
Copyright © 1999-2014 Apache Software Foundation. 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.