Let the string tool restrict html.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1639 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
eric
2005-04-26 22:33:42 +00:00
parent 14ea28dd8a
commit c66ce891f6
@@ -105,6 +105,14 @@ public class StringTool
return StringUtil.truncate(text, length, append);
}
/**
* Restrict all HTML from the specified String.
*/
public static String restrictHTML (String text)
{
return StringUtil.restrictHTML(text);
}
/** For formatting percentages. */
protected NumberFormat _percFormat;
}