Klasse MessageUtil
java.lang.Object
com.spaghetticodegang.trylater.shared.util.MessageUtil
Utility class for resolving localized messages from resource bundles.
Uses Spring's MessageSource
and the current locale from LocaleContextHolder
to retrieve internationalized texts for validation messages, exceptions, and other output.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
MessageUtil
public MessageUtil()
-
-
Methodendetails
-
get
-
get
Resolves a localized message for the given key with placeholders replaced by the given arguments.- Parameter:
key
- the message key to look upargs
- the arguments to replace in the message (e.g., placeholders like {0}, {1}, ...)- Gibt zurück:
- the formatted, localized message string
-