public class

JdbcRowSetResourceBundle

extends Object
implements Serializable
java.lang.Object
   ↳ com.sun.rowset.JdbcRowSetResourceBundle

Class Overview

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

Summary

Public Methods
static JdbcRowSetResourceBundle getJdbcRowSetResourceBundle()
This method is used to get a handle to the initialized instance of this class.
Enumeration getKeys()
This method returns an enumerated handle of the keys which correspond to values translated to various locales.
Object handleGetObject(String key)
This method takes the key as an argument and returns the corresponding value reading it from the Resource Bundle loaded earlier.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static JdbcRowSetResourceBundle getJdbcRowSetResourceBundle ()

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
IOException if unable to find the RowSetResourceBundle.properties

public 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.

public Object handleGetObject (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.