|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.beasys.commerce.ebusiness.catalog.util.CatalogSchemaManager
Utility class used for accessing named Product Catalog schema definition resources
within a named ResourceBundle resource file.
By default, the wlcs-catalog resource file is used.
ResourceBundle| Constructor Summary | |
CatalogSchemaManager(String bundle)
This is an abstract class. |
|
| Method Summary | |
Integer |
getInteger(String key)
Get an Integer resource referenced by a key. |
Enumeration |
getKeys()
Get all the keys for the resource bundle. |
Object |
getObject(String key)
Get an Object resource referenced by a key. |
PreparedStatement |
getPreparedStatement(Connection con,
String key)
Create a PreparedStatemetn from a string resource referenced by a key. |
String |
getString(String key)
Get a string resource referenced by a key. |
String[] |
getStringArray(String key)
Get a string array resource referenced by a key. |
protected void |
loadResourceBundle()
Load the resource bundle. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CatalogSchemaManager(String bundle)
| Method Detail |
public 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 valid
public Enumeration getKeys()
throws MissingResourceException
MissingResourceException - if the resource bundle could not be found
public Object getObject(String key)
throws MissingResourceException
key - the name of the resource
MissingResourceException - if the resource bundle could not be found
public 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 error
public String getString(String key)
throws MissingResourceException
key - the name of the resource
MissingResourceException - if the resource bundle could not be found
public String[] getStringArray(String key)
throws MissingResourceException
key - the name of the resource
MissingResourceException - if the resource bundle could not be found
protected void loadResourceBundle()
throws MissingResourceException
MissingResourceException - if the resource bundle could not be found
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||