org.xins.common.ant
Class UppercaseTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.xins.common.ant.UppercaseTask
- public class UppercaseTask
- extends Task
Apache Ant task that uppercase a text. Note that hyphens '-' are
translated to underscores '_'.
- Since:
- XINS 1.1.0
- Version:
- $Revision: 1.6 $ $Date: 2006/08/28 09:12:35 $
- Author:
- Anthony Goubard
Method Summary |
void |
execute()
Called by the project to let the task do its work. |
void |
setProperty(String newPropertyName)
Sets the name of the property. |
void |
setText(String text)
Sets the text to be set in uppercase. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UppercaseTask
public UppercaseTask()
setProperty
public void setProperty(String newPropertyName)
- Sets the name of the property.
- Parameters:
newPropertyName
- the name of the property to store the uppercase value.
setText
public void setText(String text)
- Sets the text to be set in uppercase.
- Parameters:
text
- the text that has to be set in uppercase.
execute
public void execute()
throws BuildException
- Called by the project to let the task do its work.
- Throws:
BuildException
- if something goes wrong with the build.
See http://www.xins.org/.