public class ShortString extends Object
Constructor and Description |
---|
ShortString(String input) |
Modifier and Type | Method and Description |
---|---|
static String |
shorten(List<String> strings) |
static String |
shorten(String s)
Truncate a string to be no longer than MAX_LENGTH, using an ellipsis at
the end.
|
String |
toString() |
public ShortString(String input)
public static String shorten(String s)
s
- String to shorten if requiredCopyright © 2017 Zanata Project. All rights reserved.