atg.core.i18n
Class LayeredResourceBundle.LayeredResourceBundleControl
java.lang.Object
   java.util.ResourceBundle.Control
java.util.ResourceBundle.Control
       atg.core.i18n.LayeredResourceBundle.LayeredResourceBundleControl
atg.core.i18n.LayeredResourceBundle.LayeredResourceBundleControl
- Enclosing class:
- LayeredResourceBundle
- public static class LayeredResourceBundle.LayeredResourceBundleControl 
- extends java.util.ResourceBundle.Control
A Control subclass that implements layering of resource bundles.
 
| Field Summary | 
| static java.lang.String | CLASS_VERSIONClass version string
 | 
 
| Fields inherited from class java.util.ResourceBundle.Control | 
| FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL | 
 
 
| Method Summary | 
|  java.util.List<java.lang.String> | getFormats(java.lang.String baseName)
 | 
|  java.io.InputStream | getResourceAsStream(java.lang.String pName,
                    java.lang.ClassLoader pLoader)Returns an input stream for reading the specified resource.
 | 
|  java.util.ResourceBundle | newBundle(java.lang.String baseName,
          java.util.Locale locale,
          java.lang.String format,
          java.lang.ClassLoader loader,
          boolean reload)
 | 
 
| Methods inherited from class java.util.ResourceBundle.Control | 
| getCandidateLocales, getControl, getFallbackLocale, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceName | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CLASS_VERSION
public static final java.lang.String CLASS_VERSION
- Class version string
 
- See Also:
- Constant Field Values
 
LayeredResourceBundle.LayeredResourceBundleControl
public LayeredResourceBundle.LayeredResourceBundleControl()
getFormats
public java.util.List<java.lang.String> getFormats(java.lang.String baseName)
- 
- Overrides:
- getFormatsin class- java.util.ResourceBundle.Control
 
- 
 
newBundle
public java.util.ResourceBundle newBundle(java.lang.String baseName,
                                          java.util.Locale locale,
                                          java.lang.String format,
                                          java.lang.ClassLoader loader,
                                          boolean reload)
                                   throws java.lang.IllegalAccessException,
                                          java.lang.InstantiationException,
                                          java.io.IOException
- 
- Overrides:
- newBundlein class- java.util.ResourceBundle.Control
 
- 
- Throws:
- java.lang.IllegalAccessException
- java.lang.InstantiationException
- java.io.IOException
 
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String pName,
                                               java.lang.ClassLoader pLoader)
                                        throws java.io.IOException
- Returns an input stream for reading the specified resource.
 
- 
- Parameters:
- name- The resource name
- Returns:
- An input stream for reading the resource, or null
          if the resource could not be found
- Throws:
- java.io.IOException