Package io.goobi.viewer.messages
Class Messages
java.lang.Object
io.goobi.viewer.messages.Messages
Utility class for looking up localised message strings from the viewer's resource bundles.
-
Method Details
-
error
error.- Parameters:
targetId- JSF component ID to attach the message tomessage- message key or text to displaymessageParams- placeholder values substituted into the message
-
error
error.- Parameters:
message- message key or text to display
-
info
info.- Parameters:
targetId- JSF component ID to attach the message tomessage- message key or text to displaymessageParams- placeholder values substituted into the message
-
info
info.- Parameters:
message- message key or text to display
-
warn
warn.- Parameters:
message- message key or text to display
-
warn
warn.- Parameters:
targetId- JSF component ID to attach the message tomessage- message key or text to displaymessageParams- placeholder values substituted into the message
-
clear
public static void clear()clear. -
translate
translate.- Parameters:
inMessage- message key to look up in the resource bundlelocale- locale used for translation lookupmessageParams- placeholder values substituted into the translated message- Returns:
- translated and interpolated message string
-