Class Regex

java.lang.Object
org.apache.rat.anttasks.Regex
All Implemented Interfaces:
IHeaderMatcher.Builder

@Deprecated public class Regex extends Object implements IHeaderMatcher.Builder
Deprecated.
use configuration file.
Creates a Regex matcher.
  • Constructor Details

    • Regex

      public Regex()
      Deprecated.
  • Method Details

    • setExpr

      public void setExpr(String pattern)
      Deprecated.
    • addText

      public void addText(String pattern)
      Deprecated.
    • build

      public SimpleRegexMatcher build()
      Deprecated.
      Description copied from interface: IHeaderMatcher.Builder
      Build the IHeaderMatcher.

      Implementations of this interface should return a specific child class of IHeaderMatcher.

      Specified by:
      build in interface IHeaderMatcher.Builder
      Returns:
      a new IHeaderMatcher.