com.beasys.commerce.ebusiness.catalog.util
Class CatalogResourceManager

java.lang.Object
  extended by com.beasys.commerce.ebusiness.catalog.util.CatalogResourceManager

Deprecated

@Deprecated
public abstract class CatalogResourceManager
extends Object

Utility class used for accessing named Product Catalog resources within the wlcs-catalog ResourceBundle resource file.

See Also
ResourceBundle

Method Summary
static Integer getInteger(String key)
          Deprecated Get an Integer resource referenced by a key.
static Enumeration getKeys()
          Deprecated Get all the keys for the resource bundle.
static Object getObject(String key)
          Deprecated Get an Object resource referenced by a key.
static PreparedStatement getPreparedStatement(Connection con, String key)
          Deprecated Create a PreparedStatemetn from a string resource referenced by a key.
static String getString(String key)
          Deprecated Get a string resource referenced by a key.
static String[] getStringArray(String key)
          Deprecated 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

getString

public static String getString(String key)
                        throws MissingResourceException
Deprecated 
Get a string resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as a String
Throws
MissingResourceException - if the resource bundle could not be found

getInteger

public static Integer getInteger(String key)
                          throws MissingResourceException,
                                 NumberFormatException
Deprecated 
Get an Integer resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as an Integer
Throws
MissingResourceException - if the resource bundle could not be found
NumberFormatException - if the resource specified by the key is not valid

getPreparedStatement

public static PreparedStatement getPreparedStatement(Connection con,
                                                     String key)
                                              throws MissingResourceException,
                                                     SQLException
Deprecated 
Create a PreparedStatemetn from a string resource referenced by a key.

Parameters
con - the Database Connection
key - the name of the resource
Returns
the resource as a String
Throws
MissingResourceException - if the resource bundle could not be found
SQLException - on statement preparation error

getStringArray

public static String[] getStringArray(String key)
                               throws MissingResourceException
Deprecated 
Get a string array resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as a String[]
Throws
MissingResourceException - if the resource bundle could not be found

getObject

public static Object getObject(String key)
                        throws MissingResourceException
Deprecated 
Get an Object resource referenced by a key.

Parameters
key - the name of the resource
Returns
the resource as an Object
Throws
MissingResourceException - if the resource bundle could not be found

getKeys

public static Enumeration getKeys()
                           throws MissingResourceException
Deprecated 
Get all the keys for the resource bundle.

Returns
the Enumeration of keys.
Throws
MissingResourceException - if the resource bundle could not be found


Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.