Class ErrorMessageFormater


  • public final class ErrorMessageFormater
    extends Object
    helper class with formating methods for validation messages.
    Author:
    Manfred Tremmel
    • Method Detail

      • messagesToList

        public static com.google.gwt.safehtml.shared.SafeHtml messagesToList​(Set<String> messages)
        build a html list out of given message set.
        Parameters:
        messages - set of message strings
        Returns:
        safe html with massages as list
      • messagesToString

        public static String messagesToString​(Set<String> messages)
        build a linefeed separated String with all messages out of given set.
        Parameters:
        messages - set of message strings
        Returns:
        String with messages