Package fr.gouv.vitam.common.i18n
Class VitamErrorMessages
java.lang.Object
fr.gouv.vitam.common.i18n.VitamErrorMessages
Vitam Error Messages Helper for take value of the key in
vitam-error-messages.properties
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve all the messagesstatic final String
getFromKey
(String key) Retrieve value of the message keystatic final String
getFromKey
(String key, Object... args) Retrieve value of the message key
-
Field Details
-
DEFAULT_LOCALE
Default Locale
-
-
Method Details
-
getAllMessages
Retrieve all the messages- Returns:
- map of messages
-
getFromKey
Retrieve value of the message key- Parameters:
key
- key of the message- Returns:
-
getFromKey
Retrieve value of the message key- Parameters:
key
- of the messageargs
- the arguments to use as MessageFormat.format(mesg, args)- Returns:
- value of the message key
-