net.sf.antcontrib.property
Class RegexTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.sf.antcontrib.property.AbstractPropertySetterTask
net.sf.antcontrib.property.RegexTask
public class RegexTask
- extends AbstractPropertySetterTask
Place class description here.
- Since:
- Author:
- Matthew Inger,
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
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 org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexTask
public RegexTask()
setInput
public void setInput(java.lang.String input)
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
setRegexp
public void setRegexp(java.lang.String regex)
createRegexp
public org.apache.tools.ant.types.RegularExpression createRegexp()
setReplace
public void setReplace(java.lang.String replace)
createReplace
public org.apache.tools.ant.types.Substitution createReplace()
setSelect
public void setSelect(java.lang.String select)
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
setGlobal
public void setGlobal(boolean global)
doReplace
protected java.lang.String doReplace()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
doSelect
protected java.lang.String doSelect()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
validate
protected void validate()
- Overrides:
validate
in class AbstractPropertySetterTask
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException