public final class ParameterizedLocalizedMessage extends Object implements LocalizedMessage
LocalizedMessagethat resolves a message with placeholders.
LocalizedMessageResolver.resolveMessage(Locale, String, String...) for more details.
|Constructor and Description|
Constructs a new
|Modifier and Type||Method and Description|
Resolves this message for a specific
ParameterizedLocalizedMessagefrom a localized message key and a set of substitution parameters.
key- the key (property) used to resolve the message in the localization bundle
params- the values to be substituted into the resolved message
public String resolve(Locale locale, LocalizedMessageResolver resolver)
This method does not guarantee that the returned value will be customized for the specified locale, but ensures that a best-effort attempt is made to do so.
Copyright 2019 Ping Identity Corp. All rights reserved.