private static class NameAbbreviator.DropElementAbbreviator extends NameAbbreviator
| Modifier and Type | Field and Description |
|---|---|
private int |
count
Maximum number of path elements to output.
|
| Constructor and Description |
|---|
DropElementAbbreviator(int count)
Create new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abbreviate(int nameStart,
java.lang.StringBuffer buf)
Abbreviate name.
|
getAbbreviator, getDefaultAbbreviatorpublic DropElementAbbreviator(int count)
count - maximum number of path elements to output.public void abbreviate(int nameStart,
java.lang.StringBuffer buf)
abbreviate in class NameAbbreviatorbuf - buffer to append abbreviation.nameStart - start of name to abbreviate.