public final class BundleHandler extends Object
Constructor and Description |
---|
BundleHandler(ResourceBundles defaultBundle,
IResourceContext context)
Deprecated.
As of NetWeaver 7.1
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseBundleString(String baseName,
String key)
Deprecated.
As of NetWeaver 7.1
|
String |
getBaseBundleString(String baseName,
String key,
Object obj)
Deprecated.
As of NetWeaver 7.1
|
String |
getBaseBundleString(String baseName,
String key,
Object[] objs)
Deprecated.
As of NetWeaver 7.1
|
String |
getBaseBundleString(String baseName,
String key,
Object obj1,
Object obj2)
Deprecated.
As of NetWeaver 7.1
|
String |
getBundleString(String key)
Deprecated.
As of NetWeaver 7.1
|
String |
getBundleString(String key,
Object obj)
Deprecated.
As of NetWeaver 7.1
|
String |
getBundleString(String key,
Object[] objs)
Deprecated.
As of NetWeaver 7.1
|
String |
getBundleString(String key,
Object obj1,
Object obj2)
Deprecated.
As of NetWeaver 7.1
|
public BundleHandler(ResourceBundles defaultBundle, IResourceContext context)
public String getBaseBundleString(String baseName, String key, Object[] objs) throws MissingResourceException
baseName
- base name of property file (null: current classname)key
- A resource bundle key that must exist in either the optional or default bundle.objs
- An object array containing objects to be replaced in the bundle (@see java.text.MessageFormat)MissingResourceException
- This is thrown if a key was not found in both resource files.public String getBundleString(String key, Object[] objs) throws MissingResourceException
key
- A resource bundle key that must exist in either the optional or default bundle.objs
- An object array containing objects to be replaced in the bundle (@see java.text.MessageFormat)MissingResourceException
- This is thrown if a key was not found in both resource files.public String getBaseBundleString(String baseName, String key) throws MissingResourceException
baseName
- base name of property file (null: current classname)key
- A resource bundle key that must exist in either the optional or default bundle.MissingResourceException
- This is thrown if a key was not found in both resource files.getBaseBundleString(String baseName, String key, Object[] objs)
public String getBundleString(String key) throws MissingResourceException
key
- A resource bundle key that must exist in either the optional or default bundle.MissingResourceException
- This is thrown if a key was not found in both resource files.getBaseBundleString(String baseName, String key, Object[] objs)
public String getBaseBundleString(String baseName, String key, Object obj) throws MissingResourceException
baseName
- base name of property file (null: current classname)key
- A resource bundle key that must exist in either the optional or default bundle.obj
- objMissingResourceException
- This is thrown if a key was not found in both resource files.public String getBundleString(String key, Object obj) throws MissingResourceException
key
- A resource bundle key that must exist in either the optional or default bundle.obj
- objMissingResourceException
- This is thrown if a key was not found in both resource files.public String getBaseBundleString(String baseName, String key, Object obj1, Object obj2) throws MissingResourceException
baseName
- base name of property file (null: current classname)key
- A resource bundle key that must exist in either the optional or default bundle.obj1
- obj1obj2
- obj2MissingResourceException
- This is thrown if a key was not found in both resource files.public String getBundleString(String key, Object obj1, Object obj2) throws MissingResourceException
key
- A resource bundle key that must exist in either the optional or default bundle.obj1
- obj1obj2
- obj2MissingResourceException
- This is thrown if a key was not found in both resource files.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice