Class SiteTextEditUtil


  • public class SiteTextEditUtil
    extends Object
    • Constructor Detail

      • SiteTextEditUtil

        public SiteTextEditUtil()
    • 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 trim
        maxNumOfChars - The maximum number of characters for the trimmed text.
        Returns:
        Ellipse A String to represent the ending pattern of the trimmed text