|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NLSBundle_zh_CN
Provides API for performing translation given a NLS key and associated token name value pairs. This interface sheilds the clients from the underlying bundle implementations where the translated resources are stored for example, Java resource bundles, FND Message service etc.
An appropriate instance of NLSBundle can be created by calling the NLSProvider.createNLSBundle(String) method with the respective bundle name.
Method Summary | |
---|---|
void |
cleanup()
Performs any cleanup required by the bundle. |
java.lang.String |
translate(java.lang.String pNlsKey,
NameValueList pTokens,
java.lang.String pDefault)
Returns a translated String based on the current locale for the given nls key and token values from this bundle. |
Method Detail |
---|
java.lang.String translate(java.lang.String pNlsKey, NameValueList pTokens, java.lang.String pDefault)
pNlsKey
- Key for the nls messagepTokens
- token name values (if any) that should be substitued
during the translationpDefault
- default message to return if unable to translate for
instance if the nls key doesn't exist in this bundle
void cleanup()
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |