com.bankframe.services.resource
Class ResourceBundleAdapter

java.lang.Object
  |
  +--java.util.ResourceBundle
        |
        +--com.bankframe.services.resource.ResourceBundleAdapter

public class ResourceBundleAdapter
extends java.util.ResourceBundle

This is an adapter class that wraps a BankFrameResource instance to provide a java.util.ResourceBundle interface. This class is provided to aid backwards compatability with BankFrame code that relies on the ResourceBundle API


Constructor Summary
ResourceBundleAdapter(BankFrameResource resource)
          Constructor.
 
Method Summary
 java.util.Enumeration getKeys()
           
static java.util.ResourceBundle getResourceBundle(java.lang.String resourceName)
          This method creates a ResourceBundleAdapther instance for the specified instance.
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleAdapter

public ResourceBundleAdapter(BankFrameResource resource)
Constructor.

Method Detail

getKeys

public java.util.Enumeration getKeys()
Specified by:
getKeys in class java.util.ResourceBundle
See Also:
ResourceBundle.getKeys()

getResourceBundle

public static java.util.ResourceBundle getResourceBundle(java.lang.String resourceName)
This method creates a ResourceBundleAdapther instance for the specified instance.

Parameters:
resourceName - the name of the resource instance
Returns:
the created ResourceBundle object


Copyright © 2005 Siebel Systems, Inc. All rights reserved.