public class ResBundleUtils extends Object
Modifier and Type | Field and Description |
---|---|
static ResourceBundle |
bundle |
static String |
rbName
resource bundle name
|
Constructor and Description |
---|
ResBundleUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getString(String key)
Returns localized string for the default locale specified in AMConfig.
|
static String |
getString(String key,
Object[] params)
Returns localized formatted string
|
public static final String rbName
public static ResourceBundle bundle
public static String getString(String key)
key
- key to look up the localized message forkey
if localized string is
missingpublic static String getString(String key, Object[] params)
key
- key to look up the localized message forparams
- parameters to be applied to the messagekey
if localized string is
missing, uses locale as set in AMConfig.properties or default OS locale.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.