Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.provider.nls
Class NLSBundleMessageSvcImpl

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.provider.nls.NLSBundleMessageSvcImpl
All Implemented Interfaces:
NLSBundle

public class NLSBundleMessageSvcImpl
extends java.lang.Object
implements NLSBundle

NLSBundle implementation for FND Message Service

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/provider/nls/NLSBundleMessageSvcImpl.java /main/8 2009/06/05 14:18:10 ppradhan Exp $
Author:
ppradhan

Constructor Summary
NLSBundleMessageSvcImpl(java.lang.String pBundleName)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NLSBundleMessageSvcImpl

public NLSBundleMessageSvcImpl(java.lang.String pBundleName)
Method Detail

cleanup

public void cleanup()
Description copied from interface: NLSBundle
Performs any cleanup required by the bundle. This API should be called after all the translation activities have been completed on this bundle.

Specified by:
cleanup in interface NLSBundle

translate

public java.lang.String translate(java.lang.String pNlsKey,
                                  NameValueList pTokens,
                                  java.lang.String pDefault)
Description copied from interface: NLSBundle
Returns a translated String based on the current locale for the given nls key and token values from this bundle. If a translated resource with the given nls key does not exist in this bundle, then just the nls key and token name values (if any) are returned.

Specified by:
translate in interface NLSBundle
Parameters:
pNlsKey - Key for the nls message
pTokens - token name values (if any) that should be substitued during the translation
pDefault - default message to return if unable to translate for instance if the nls key doesn't exist in this bundle
Returns:
a translated String based on the current locale.

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.