public class StringShortener
extends java.lang.Object
Constructor and Description |
---|
StringShortener() |
Modifier and Type | Method and Description |
---|---|
StringShortener |
append(java.lang.String id,
java.lang.String text) |
StringShortener |
canRemove(java.lang.String id) |
StringShortener |
canTruncate(java.lang.String id,
int len) |
java.lang.String |
getStringOfMaxLength(int maxlen) |
StringShortener |
separator(java.lang.String separator) |
StringShortener |
truncate(java.lang.String id,
int len) |
public StringShortener separator(java.lang.String separator)
public StringShortener append(java.lang.String id, java.lang.String text)
public StringShortener truncate(java.lang.String id, int len)
public StringShortener canTruncate(java.lang.String id, int len)
public StringShortener canRemove(java.lang.String id)
public java.lang.String getStringOfMaxLength(int maxlen)