Package 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
- All Implemented Interfaces:
Cloneable
Place class description here.
- Since:
- Author:
- Matthew Inger,
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tools.ant.types.RegularExpressionorg.apache.tools.ant.types.Substitutionprotected Stringprotected StringdoSelect()voidexecute()voidsetCaseSensitive(boolean caseSensitive) voidsetDefaultValue(String defaultValue) voidsetGlobal(boolean global) voidvoidvoidsetReplace(String replace) voidprotected voidvalidate()Methods inherited from class net.sf.antcontrib.property.AbstractPropertySetterTask
setOverride, setProperty, setPropertyValueMethods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
RegexTask
public RegexTask()
-
-
Method Details
-
setInput
-
setDefaultValue
-
setRegexp
-
createRegexp
public org.apache.tools.ant.types.RegularExpression createRegexp() -
setReplace
-
createReplace
public org.apache.tools.ant.types.Substitution createReplace() -
setSelect
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) -
setGlobal
public void setGlobal(boolean global) -
doReplace
- Throws:
org.apache.tools.ant.BuildException
-
doSelect
- Throws:
org.apache.tools.ant.BuildException
-
validate
protected void validate()- Overrides:
validatein classAbstractPropertySetterTask
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-