API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.regex. MatchResult View Source
Author(s)
Michael McCloskey
Since
1.5
Version
1.6 11/17/05
Serial
Hierarchy
 MatchResult
Subinterfaces
Description
public interface MatchResult
  The result of a match operation.
See also:    Matcher
Methods
Hide/Show inherited methods
public int end ()
  Returns the offset after the last character matched.
public int end (int group)
  Returns the offset after the last character of the subsequence captured by the given group during this match.
public String group ()
  Returns the input subsequence matched by the previous match.
public String group (int group)
  Returns the input subsequence captured by the given group during the previous match operation.
public int groupCount ()
  Returns the number of capturing groups in this match result's pattern.
public int start ()
  Returns the start index of the match.
public int start (int group)
  Returns the start index of the subsequence captured by the given group during this match.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar