java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>public final class L10nLookup
extends java.util.Properties
| Modifier and Type | Method | Description |
|---|---|---|
void |
ensureResourcesLoaded() |
Load i18n.properties on demand.
|
static L10nLookup |
getL10n() |
Retrieves the singleton L10nLookup instance.
|
Localizer |
getLocalizer(int id) |
Deprecated.
|
Localizer |
getLocalizer(int id,
java.util.Locale locale) |
Deprecated.
|
Localizer |
getLocalizer(java.lang.String id) |
Locate the basic Localizer class in the JVM's default locale for the String id.
|
Localizer |
getLocalizer(java.lang.String id,
java.util.Locale locale) |
Locate the basic Localizer class in the desired locale for the String id.
|
Localizer |
getLocalizer(java.lang.String msgId,
java.util.Locale locale,
boolean detailed) |
Locate the Localizer class in the desired locale for the String id.
|
static Localizer |
getLocalizer(java.util.Locale locale,
java.lang.String className) |
Locate the basic Localizer class in the desired locale for the named Localizer class
|
static Localizer |
getLocalizer(java.util.Locale locale,
java.lang.String className,
java.lang.ClassLoader classLoader) |
Locate the basic localizer using the specified ClassLoader.
|
java.util.Vector |
getSubSystems() |
Returns a list of defined subsystems.
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
Maps the specified
key to the specified
value in this hashtable. |
finalize, getClass, notify, notifyAll, wait, wait, waitclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, forEach, get, getOrDefault, getProperty, getProperty, isEmpty, keys, keySet, list, list, load, loadFromXML, merge, propertyNames, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, valuespublic static L10nLookup getL10n()
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
key to the specified
value in this hashtable.put in interface java.util.Map<java.lang.Object,java.lang.Object>put in class java.util.Propertiespublic void ensureResourcesLoaded()
public Localizer getLocalizer(java.lang.String id, java.util.Locale locale) throws java.util.MissingResourceException
id - string identifying a WebLogic Server message.locale - Desired locale.java.util.MissingResourceException - There is no key match id in the property file.public Localizer getLocalizer(java.lang.String msgId, java.util.Locale locale, boolean detailed) throws java.util.MissingResourceException
The id is a 6 digit String optionally prefixed by a tag as defined in the associated message catalog. For example, BEA-000100 or 000100 may be used as the message id. All server messages are prefixed with "BEA-". By default, user messages have no prefix. The prefix is useful for display purposes only. It is not used to differentiate between catalogs, although if a prefix is included in the id parameter, it must match the prefix defined for the message catalog.
msgId - string identifying a WebLogic Server message.locale - Desired locale.detailed - true retrieves the Localizer containing detailed log message info.
False retrieves the basic Localizer.java.util.MissingResourceException - There is no key match id in the property file.@Deprecated public Localizer getLocalizer(int id, java.util.Locale locale) throws java.util.MissingResourceException
id - identifies a WebLogic Server message.locale - Desired locale.java.util.MissingResourceException - if there is no key matching id in the property file.public Localizer getLocalizer(java.lang.String id) throws java.util.MissingResourceException
id - 6 character string identifying a WebLogic Server message.java.util.MissingResourceException - There is no key match id in the property file.@Deprecated public Localizer getLocalizer(int id) throws java.util.MissingResourceException
id - identifies a WebLogic Server message.java.util.MissingResourceException - There is no key match id in the property file.public static Localizer getLocalizer(java.util.Locale locale, java.lang.String className) throws java.util.MissingResourceException
locale - Desired locale.className - name of Localizer classjava.util.MissingResourceExceptionpublic static Localizer getLocalizer(java.util.Locale locale, java.lang.String className, java.lang.ClassLoader classLoader) throws java.util.MissingResourceException
locale - className - classLoader - java.util.MissingResourceExceptionpublic java.util.Vector getSubSystems()