| Modifier and Type | Method and Description | 
|---|---|
| static String | elide(String original,
     int max,
     String suffix)Shorten the given  originalstring and append the givensuffixif it is longest than the
 definedmaxlength minus the length of thesuffix. | 
| static String | removeLineBreaks(String original)Removes line-breaks (\r\n or \r or \n) from the given  originaland replaces it with blanks. | 
public static String elide(String original, int max, String suffix)
original string and append the given suffix if it is longest than the
 defined max length minus the length of the suffix.
 
 The returned String length will always be in Math.min(original.length, max).
original - the original string to elide if necessary.max - the maximum length of the returned string.suffix - the suffix to append in case the original String is too long.public static String removeLineBreaks(String original)
original and replaces it with blanks.original - the original string to remove line breaks from.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.