org.jrdf.util.boundary
Class RegexMatcherImpl

java.lang.Object
  extended by org.jrdf.util.boundary.RegexMatcherImpl
All Implemented Interfaces:
MatchResult, RegexMatcher

public class RegexMatcherImpl
extends Object
implements RegexMatcher

Class description goes here.


Method Summary
 void appendReplacement(StringBuffer sb, String replacement)
           
 void appendTail(StringBuffer sb)
           
 int end()
           
 int end(int group)
           
 boolean find()
           
 String group()
           
 String group(int group)
           
 int groupCount()
           
 boolean matches()
           
 int start()
           
 int start(int group)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

find

public boolean find()
Specified by:
find in interface RegexMatcher

matches

public boolean matches()
Specified by:
matches in interface RegexMatcher

start

public int start()
Specified by:
start in interface MatchResult

start

public int start(int group)
Specified by:
start in interface MatchResult

end

public int end()
Specified by:
end in interface MatchResult

end

public int end(int group)
Specified by:
end in interface MatchResult

group

public String group()
Specified by:
group in interface MatchResult

group

public String group(int group)
Specified by:
group in interface MatchResult

groupCount

public int groupCount()
Specified by:
groupCount in interface MatchResult

appendReplacement

public void appendReplacement(StringBuffer sb,
                              String replacement)
Specified by:
appendReplacement in interface RegexMatcher

appendTail

public void appendTail(StringBuffer sb)
Specified by:
appendTail in interface RegexMatcher