|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.x4juli.formatter.pattern.NameAbbreviator
org.x4juli.formatter.pattern.NameAbbreviator.MaxElementAbbreviator
Abbreviator that drops starting path elements.
| Nested Class Summary |
| Nested classes inherited from class org.x4juli.formatter.pattern.NameAbbreviator |
|
| Field Summary | |
private int |
count
Maximum number of path elements to output. |
| Fields inherited from class org.x4juli.formatter.pattern.NameAbbreviator |
|
| Constructor Summary | |
NameAbbreviator.MaxElementAbbreviator(int count)
Create new instance. |
|
| Method Summary | |
void |
abbreviate(int nameStart,
java.lang.StringBuffer buf)
Abbreviate name. |
| Methods inherited from class org.x4juli.formatter.pattern.NameAbbreviator |
getAbbreviator, getDefaultAbbreviator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final int count
| Constructor Detail |
public NameAbbreviator.MaxElementAbbreviator(int count)
count - maximum number of path elements to output.| Method Detail |
public void abbreviate(int nameStart,
java.lang.StringBuffer buf)
abbreviate in class NameAbbreviatorbuf - buffer to append abbreviation.nameStart - start of name to abbreviate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||