Package Summary  Overview Summary


com.sun.rowset
Class JdbcRowSetResourceBundle

java.lang.Object
  extended by com.sun.rowset.JdbcRowSetResourceBundle


All Implemented Interfaces:
java.io.Serializable

public class JdbcRowSetResourceBundle
extends java.lang.Object
implements java.io.Serializable

This class is used to help in localization of resources, especially the exception strings.

See Also:
Serialized Form


Method Summary
static JdbcRowSetResourceBundlegetJdbcRowSetResourceBundle()
          This method is used to get a handle to the initialized instance of this class.
 java.util.EnumerationgetKeys()
          This method returns an enumerated handle of the keys which correspond to values translated to various locales.
 java.lang.ObjecthandleGetObject(java.lang.String key)
          This method takes the key as an argument and returns the corresponding value reading it from the Resource Bundle loaded earlier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJdbcRowSetResourceBundle

public static JdbcRowSetResourceBundlegetJdbcRowSetResourceBundle()
                                                            throws java.io.IOException
This method is used to get a handle to the initialized instance of this class. Note that at any time there is only one instance of this class initialized which will be returned.

Throws:
java.io.IOException - if unable to find the RowSetResourceBundle.properties

getKeys

public java.util.Enumeration getKeys()
This method returns an enumerated handle of the keys which correspond to values translated to various locales.

Returns:
an enumeration of keys which have messages tranlated to corresponding locales.

handleGetObject

public java.lang.Object handleGetObject(java.lang.String key)
This method takes the key as an argument and returns the corresponding value reading it from the Resource Bundle loaded earlier.

Returns:
value in locale specific language according to the key passed.


Java is a trademark or registered trademark of Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A All Rights Reserved.