|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.ebusiness.catalog.util.CatalogResourceManager
Utility class used for accessing named Product Catalog resources within
the wlcs-catalog
ResourceBundle
resource file.
ResourceBundle
Method Summary | |
static Integer |
getInteger(String key)
Get an Integer resource referenced by a key. |
static Enumeration |
getKeys()
Get all the keys for the resource bundle. |
static Object |
getObject(String key)
Get an Object resource referenced by a key. |
static PreparedStatement |
getPreparedStatement(Connection con,
String key)
Create a PreparedStatemetn from a string resource referenced by a key. |
static String |
getString(String key)
Get a string resource referenced by a key. |
static String[] |
getStringArray(String key)
Get a string array resource referenced by a key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Integer getInteger(String key) throws MissingResourceException, NumberFormatException
key
- the name of the resource
MissingResourceException
- if the resource bundle could not be found
NumberFormatException
- if the resource specified by the key is not validpublic static Enumeration getKeys() throws MissingResourceException
MissingResourceException
- if the resource bundle could not be foundpublic static Object getObject(String key) throws MissingResourceException
key
- the name of the resource
MissingResourceException
- if the resource bundle could not be foundpublic static PreparedStatement getPreparedStatement(Connection con, String key) throws MissingResourceException, SQLException
con
- the Database Connectionkey
- the name of the resource
MissingResourceException
- if the resource bundle could not be found
SQLException
- on statement preparation errorpublic static String getString(String key) throws MissingResourceException
key
- the name of the resource
MissingResourceException
- if the resource bundle could not be foundpublic static String[] getStringArray(String key) throws MissingResourceException
key
- the name of the resource
MissingResourceException
- if the resource bundle could not be found
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |