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, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tools.ant.types.RegularExpression
org.apache.tools.ant.types.Substitution
protected String
protected String
doSelect()
void
execute()
void
setCaseSensitive
(boolean caseSensitive) void
setDefaultValue
(String defaultValue) void
setGlobal
(boolean global) void
void
void
setReplace
(String replace) void
protected void
validate()
Methods inherited from class net.sf.antcontrib.property.AbstractPropertySetterTask
setOverride, setProperty, setPropertyValue
Methods 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, setTaskType
Methods 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:
validate
in classAbstractPropertySetterTask
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-