|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StringUtil.TruncationMode | |
---|---|
net.sf.jpkgmk.util |
Uses of StringUtil.TruncationMode in net.sf.jpkgmk.util |
---|
Fields in net.sf.jpkgmk.util declared as StringUtil.TruncationMode | |
---|---|
static StringUtil.TruncationMode |
StringUtil.TruncationMode.END
The mode that describes that a string is truncated at the end and the start string is returned. |
static StringUtil.TruncationMode |
StringUtil.TruncationMode.START
The mode that describes that a string is truncated at the beginning and the end string is returned. |
Methods in net.sf.jpkgmk.util with parameters of type StringUtil.TruncationMode | |
---|---|
static java.lang.String |
StringUtil.truncateUtf8String(java.lang.String text,
int maxLengthInBytes,
StringUtil.TruncationMode mode)
Returns the specified string truncated to the specified maximum length in bytes (when encoded in UTF-8 format), with an ellipses (...) if need be. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |