API Overview API Index Package Overview Direct link to this page
Apache Ant 1.7.1
  org.apache.tools.ant.util.regexp. JakartaRegexpMatcher View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      JakartaRegexpMatcher
Implements
 RegexpMatcher
Subclasses
Description
public class JakartaRegexpMatcher
Implementation of RegexpMatcher for Jakarta-Regexp.
See also:   
Constructors
public JakartaRegexpMatcher ()
Methods
Hide/Show inherited methods
protected RE getCompiledPattern (int options) throws BuildException
  Compile the pattern.
protected int getCompilerOptions (int options)
  Convert the generic options to the regex compiler specific options.
public java.util.Vector getGroups (java.lang.String argument) throws BuildException [Specified in RegexpMatcher]
  Returns a Vector of matched groups found in the argument using default options.
public java.util.Vector getGroups (java.lang.String input, int options) throws BuildException [Specified in RegexpMatcher]
  Returns a Vector of matched groups found in the argument.
public java.lang.String getPattern () [Specified in RegexpMatcher]
  Get a String representation of the regexp pattern
public boolean matches (java.lang.String argument) throws BuildException [Specified in RegexpMatcher]
  Does the given argument match the pattern?
public boolean matches (java.lang.String input, int options) throws BuildException [Specified in RegexpMatcher]
  Does the given argument match the pattern?
public void setPattern (java.lang.String pattern) [Specified in RegexpMatcher]
  Set the regexp pattern from the String description.
Fields
Hide/Show inherited fields
publicfinalstatic int MATCH_CASE_INSENSITIVE = "256" [Inherited From RegexpMatcher]
Perform a case insenstive match
publicfinalstatic int MATCH_DEFAULT = "0" [Inherited From RegexpMatcher]
Default Mask (case insensitive, neither multiline nor singleline specified).
publicfinalstatic int MATCH_MULTILINE = "4096" [Inherited From RegexpMatcher]
Treat the input as a multiline input
publicfinalstatic int MATCH_SINGLELINE = "65536" [Inherited From RegexpMatcher]
Treat the input as singleline input ('.' matches newline)
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar