Class Messages

java.lang.Object
io.goobi.viewer.messages.Messages

public final class Messages extends Object

Messages class.

  • Method Details

    • error

      public static void error(String targetId, String message, String... messageParams)

      error.

      Parameters:
      targetId - a String object.
      message - a String object.
      messageParams - a String object.
    • error

      public static void error(String message)

      error.

      Parameters:
      message - a String object.
    • info

      public static void info(String targetId, String message, String... messageParams)

      info.

      Parameters:
      targetId - a String object.
      message - a String object.
      messageParams - a String object.
    • info

      public static void info(String message)

      info.

      Parameters:
      message - a String object.
    • warn

      public static void warn(String message)

      warn.

      Parameters:
      message - a String object.
    • warn

      public static void warn(String targetId, String message, String... messageParams)

      warn.

      Parameters:
      targetId - a String object.
      message - a String object.
      messageParams - a String object.
    • clear

      public static void clear()

      clear.

    • translate

      public static String translate(String inMessage, Locale locale, String... messageParams)

      translate.

      Parameters:
      inMessage - a String object.
      messageParams - a String object.
      locale - a Locale object.
      Returns:
      a String object.