|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory oracle.apps.fnd.appltest.diagfwk.engine.provider.nls.NLSBundleResRefImpl
public class NLSBundleResRefImpl
NLSBundle implementation for LCM SDK Resource Refs
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary | |
---|---|
protected java.lang.String |
mNlsBundleName
Name of the resource bundle that this NLS bundle wraps |
protected java.lang.Class |
mResourceRefCl
Loaded ResourceRef class for this bundle |
Constructor Summary | |
---|---|
NLSBundleResRefImpl(java.lang.String pNlsBundleName)
|
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 oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String mNlsBundleName
protected java.lang.Class mResourceRefCl
Constructor Detail |
---|
public NLSBundleResRefImpl(java.lang.String pNlsBundleName)
Method Detail |
---|
public java.lang.String translate(java.lang.String pNlsKey, NameValueList pTokens, java.lang.String pDefault)
NLSBundle
translate
in interface NLSBundle
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
public void cleanup()
NLSBundle
cleanup
in interface NLSBundle
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |