Class FormattedString


  • public class FormattedString
    extends Object
    The formated string.
    • Constructor Detail

      • FormattedString

        public FormattedString()
    • Method Detail

      • encodeToFormattedString

        public static String encodeToFormattedString​(String source)
        Экранирование тэгов.
        Parameters:
        sourceString - the source string, cannot be null
        Returns:
        the encoded string, cannot be null
      • getPureString

        public static String getPureString​(String sourceString)
        Получить строку, гарантированно чистую от оформления.
        Parameters:
        sourceString - the source string, cannot be null
        Returns:
        the cleaned string, cannot be null