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

public class RegexTask extends AbstractPropertySetterTask
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.tools.ant.types.RegularExpression
     
    org.apache.tools.ant.types.Substitution
     
    protected String
     
    protected String
     
    void
     
    void
    setCaseSensitive(boolean caseSensitive)
     
    void
    setDefaultValue(String defaultValue)
     
    void
    setGlobal(boolean global)
     
    void
     
    void
     
    void
    setReplace(String replace)
     
    void
    setSelect(String select)
     
    protected void
     

    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegexTask

      public RegexTask()
  • Method Details

    • setInput

      public void setInput(String input)
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • setRegexp

      public void setRegexp(String regex)
    • createRegexp

      public org.apache.tools.ant.types.RegularExpression createRegexp()
    • setReplace

      public void setReplace(String replace)
    • createReplace

      public org.apache.tools.ant.types.Substitution createReplace()
    • setSelect

      public void setSelect(String select)
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
    • setGlobal

      public void setGlobal(boolean global)
    • doReplace

      protected String doReplace() throws org.apache.tools.ant.BuildException
      Throws:
      org.apache.tools.ant.BuildException
    • doSelect

      protected 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