Class StringSplitter


  • public class StringSplitter
    extends java.lang.Object
    Utility class for splitting strings.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull java.lang.String splitAsHtml​(@NotNull java.lang.String message)
      Splits the given string into lines and returns the lines separated by "<br>".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • splitAsHtml

        @NotNull
        public static @NotNull java.lang.String splitAsHtml​(@NotNull
                                                            @NotNull java.lang.String message)
        Splits the given string into lines and returns the lines separated by "<br>".
        Parameters:
        message - the message to format
        Returns:
        the formatted message