com.ibm.websphere.ant.tasks
Class NLSEcho
- java.lang.Object
Echo
com.ibm.websphere.ant.tasks.NLSEcho
- public class NLSEcho
- extends Echo
Version:
1.0
See Also:
Copyright IBM Corp. 2002
Source File: NLSEcho.java
Creation Date: August 13, 2002
Field Summary
Modifier and Type | Field and Description |
---|---|
|
bundle
|
|
key
|
|
tokens
|
Constructor Summary
Constructor and Description |
---|
NLSEcho()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
doTranslation()
Get translated message
|
|
execute()
Execute the task
|
|
getBundle()
Returns the fileName.
|
|
getKey()
Returns the key.
|
|
setBundle(java.lang.String bundle)
Set the file name to be used as resource bundle
|
|
setKey(java.lang.String key)
key to be translated
|
|
setReplace(java.lang.String str)
Replaces {x} with values specified
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
bundle
- protected java.lang.String bundle
key
- protected java.lang.String key
tokens
- protected java.lang.Object[] tokens
Constructor Detail
NLSEcho
- public NLSEcho()
Method Detail
setBundle
- public void setBundle(java.lang.String bundle)
Set the file name to be used as resource bundle
execute
- public void execute()
Execute the task
setKey
- public void setKey(java.lang.String key)
key to be translated
doTranslation
- protected void doTranslation()
Get translated message
getBundle
- protected java.lang.String getBundle( )
Returns the fileName.
Returns:
String
getKey
- protected java.lang.String getKey( )
Returns the key.
Returns:
String
setReplace
- public void setReplace(java.lang.String str)
Replaces {x} with values specified