Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acmsl.regexpplugin
Interface Matcher  view Matcher download Matcher.java


public interface Matcher

Represents a regexp pattern matcher. Different implementations vary but they all must respect this set of methods.

Version:
$Revision: 1.5 $

Field Summary
static Version VERSION
          Concrete version object updated everytime it's checked-in in a CVS repository.
 
Method Summary
 boolean contains(java.lang.String text, Pattern pattern)
          Checks if given text contains specified pattern.
 MatchResult getMatch()
          Retrieves the last match found due to a previous call to contains method.
 

Field Detail

VERSION

public static final Version VERSION
Concrete version object updated everytime it's checked-in in a CVS repository.

Method Detail

contains

public boolean contains(java.lang.String text,
                        Pattern pattern)
Checks if given text contains specified pattern.


getMatch

public MatchResult getMatch()
Retrieves the last match found due to a previous call to contains method.