| 
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  
java.util.Dictionary<K,V>
      
java.util.Hashtable<Object,Object>
          
java.util.Properties
              
weblogic.i18ntools.L10nLookup
public final class L10nLookup
L10nLookup is a Property object that contains the mapping between WebLogic Server log message ids and their respective Localizer properties.
| Field Summary | 
|---|
| Fields inherited from class java.util.Properties | 
|---|
defaults | 
| Method Summary | |
|---|---|
 void | 
ensureResourcesLoaded()Load i18n.properties on demand.  | 
static L10nLookup | 
getL10n()Retrieves the singleton L10nLookup instance.  | 
 Localizer | 
getLocalizer(int id)Deprecated. use L10nLookup.getLocalizer(String) | 
 Localizer | 
getLocalizer(int id, Locale locale)Deprecated. use L10nLookup.getLocalizer(String,Locale) | 
static Localizer | 
getLocalizer(Locale locale, String className)Locate the basic Localizer class in the desired locale for the named Localizer class  | 
static Localizer | 
getLocalizer(Locale locale, String className, ClassLoader classLoader)Locate the basic localizer using the specified ClassLoader.  | 
 Localizer | 
getLocalizer(String id)Locate the basic Localizer class in the JVM's default locale for the String id.  | 
 Localizer | 
getLocalizer(String id, Locale locale)Locate the basic Localizer class in the desired locale for the String id.  | 
 Localizer | 
getLocalizer(String msgId, Locale locale, boolean detailed)Locate the Localizer class in the desired locale for the String id.  | 
 Vector | 
getSubSystems()Returns a list of defined subsystems.  | 
 Object | 
put(Object key, Object value)Maps the specified key to the specified value in this hashtable. | 
| Methods inherited from class java.util.Properties | 
|---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames | 
| Methods inherited from class java.util.Hashtable | 
|---|
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values | 
| Methods inherited from class java.lang.Object | 
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public static L10nLookup getL10n()
public Object put(Object key,
                  Object value)
key to the specified value in this hashtable.put in interface Map<Object,Object>put in class Hashtable<Object,Object>public void ensureResourcesLoaded()
public Localizer getLocalizer(String id,
                              Locale locale)
                       throws MissingResourceException
id - string identifying a WebLogic Server message.locale - Desired locale.MissingResourceException - There is no key match id in the property file.
public Localizer getLocalizer(String msgId,
                              Locale locale,
                              boolean detailed)
                       throws 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.MissingResourceException - There is no key match id in the property file.
public Localizer getLocalizer(int id,
                              Locale locale)
                       throws MissingResourceException
L10nLookup.getLocalizer(String,Locale)id - identifies a WebLogic Server message.locale - Desired locale.MissingResourceException - if there is no key matching id in the property file.
public Localizer getLocalizer(String id)
                       throws MissingResourceException
id - 6 character string identifying a WebLogic Server message.MissingResourceException - There is no key match id in the property file.
public Localizer getLocalizer(int id)
                       throws MissingResourceException
L10nLookup.getLocalizer(String)id - identifies a WebLogic Server message.MissingResourceException - There is no key match id in the property file.
public static Localizer getLocalizer(Locale locale,
                                     String className)
                              throws MissingResourceException
locale - Desired locale.className - name of Localizer classMissingResourceException
public static Localizer getLocalizer(Locale locale,
                                     String className,
                                     ClassLoader classLoader)
                              throws MissingResourceException
locale -className -classLoader -MissingResourceExceptionpublic Vector getSubSystems()
  | 
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||