Package org.sakaiproject.site.util
Class SiteTextEditUtil
- java.lang.Object
-
- org.sakaiproject.site.util.SiteTextEditUtil
-
public class SiteTextEditUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SiteTextEditUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdoPlainTextAndLimit(String formattedText, int maxNumOfChars, String ellipse)
-
-
-
Method Detail
-
doPlainTextAndLimit
public String doPlainTextAndLimit(String formattedText, int maxNumOfChars, String ellipse)
- Parameters:
formattedText- The formatted text to convert to plain text and then to trimmaxNumOfChars- The maximum number of characters for the trimmed text.- Returns:
- Ellipse A String to represent the ending pattern of the trimmed text
-
-