Lines Matching defs:maxll
1075 * no line is longer than <code>maxll</code> assuming no single word is longer
1076 * then <code>maxll</code>. If the string already contains HTML tags that
1083 * @param maxll
1087 public static String breakHtmlString(CharSequence cs, int maxll)
1097 if (len > maxll)
1105 int p = d.lastIndexOf(tag, maxll);
1108 return d.substring(0, p + tag.length()) + breakHtmlString(d.substring(p + tag.length()), maxll);
1117 int p = d.lastIndexOf(' ', maxll);
1120 p = d.indexOf(' ', maxll);
1124 return d.substring(0, p) + Constants.HTML_LINE_BREAK + breakHtmlString(d.substring(p + 1), maxll);