org.jrdf.util.boundary
Class RegexMatcherImpl
java.lang.Object
org.jrdf.util.boundary.RegexMatcherImpl
- All Implemented Interfaces:
- MatchResult, RegexMatcher
public class RegexMatcherImpl
- extends Object
- implements RegexMatcher
Class description goes here.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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