public class ConnectorMessagesImpl extends Object implements ConnectorMessages
Constructor and Description |
---|
ConnectorMessagesImpl() |
Modifier and Type | Method and Description |
---|---|
String |
format(String key,
String dflt,
Object... args)
Formats the given message key in the
CurrentLocale . |
Map<Locale,Map<String,String>> |
getCatalogs() |
void |
setCatalogs(Map<Locale,Map<String,String>> catalogs) |
public String format(String key, String dflt, Object... args)
ConnectorMessages
CurrentLocale
.format
in interface ConnectorMessages
key
- The message key to format.dflt
- The default message if key is not found. If null, defaults to
key.args
- Parameters with which to format the message.Copyright © 2022. All rights reserved.