|
com.im.commons 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface DataConvertorOptions.Str
| Method Summary | |
|---|---|
int |
getDoNotAppendIfLessThan()
|
String |
getMessageToAppend()
|
int |
getTruncateTo()
|
String |
process(String s,
List<String> messages)
Perform the truncation using the current settings |
void |
setDoNotAppendIfLessThan(int chars)
Do not append the message if the length of the string is less than this number of characters. |
void |
setMessageToAppend(String msg)
Append this message to the end of the string if truncation occurred. |
void |
setTruncateTo(int chars)
Truncate the string so that it is no longer than this number of characters. |
| Method Detail |
|---|
void setTruncateTo(int chars)
chars - int getTruncateTo()
void setMessageToAppend(String msg)
msg - String getMessageToAppend()
void setDoNotAppendIfLessThan(int chars)
chars - int getDoNotAppendIfLessThan()
String process(String s,
List<String> messages)
|
com.im.commons 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||