org.jostraca.util
Class OroRegExpMatch

java.lang.Object
  extended byorg.jostraca.util.OroRegExpMatch
All Implemented Interfaces:
RegExpMatch

public class OroRegExpMatch
extends java.lang.Object
implements RegExpMatch

Jakarta ORO regular expression match.


Constructor Summary
  OroRegExpMatch()
           
protected OroRegExpMatch(org.jostraca.comp.apache.oro.text.regex.MatchResult pMatchResult)
          Create.
 
Method Summary
 boolean hasMatch()
           
 java.lang.String match()
          find match
 java.lang.String matchFirstSub()
          get first submatch
 java.lang.String matchSecondSub()
          get second submatch
 java.lang.String matchSub(int pOrdinal)
          get nth submatch, where n = 1,2,3,...
 java.lang.String matchThirdSub()
          get third submatch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OroRegExpMatch

protected OroRegExpMatch(org.jostraca.comp.apache.oro.text.regex.MatchResult pMatchResult)
Create.


OroRegExpMatch

public OroRegExpMatch()
Method Detail

hasMatch

public boolean hasMatch()
Specified by:
hasMatch in interface RegExpMatch

match

public java.lang.String match()
Description copied from interface: RegExpMatch
find match

Specified by:
match in interface RegExpMatch

matchFirstSub

public java.lang.String matchFirstSub()
Description copied from interface: RegExpMatch
get first submatch

Specified by:
matchFirstSub in interface RegExpMatch

matchSecondSub

public java.lang.String matchSecondSub()
Description copied from interface: RegExpMatch
get second submatch

Specified by:
matchSecondSub in interface RegExpMatch

matchThirdSub

public java.lang.String matchThirdSub()
Description copied from interface: RegExpMatch
get third submatch

Specified by:
matchThirdSub in interface RegExpMatch

matchSub

public java.lang.String matchSub(int pOrdinal)
Description copied from interface: RegExpMatch
get nth submatch, where n = 1,2,3,...

Specified by:
matchSub in interface RegExpMatch


Copyright © 2000-2002 Richard Rodger