|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.radeox.regex.Matcher
public abstract class Matcher
| Constructor Summary | |
|---|---|
Matcher()
|
|
| Method Summary | |
|---|---|
abstract boolean |
contains()
Test if a regular expression matches parts of the input |
static Matcher |
create(java.lang.String input,
Pattern pattern)
Create a new matcher object, depending on the implementation |
abstract boolean |
matches()
Test if a regular expression matches the complete input |
abstract java.lang.String |
substitute(java.lang.String substitution)
Replace all matches in the input with a string substitution. |
abstract java.lang.String |
substitute(Substitution substitution)
Replace all matches in the input with a substitution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Matcher()
| Method Detail |
|---|
public static Matcher create(java.lang.String input,
Pattern pattern)
input - Input to match regular expressions againspattern - Regular expression pattern
public abstract java.lang.String substitute(Substitution substitution)
substitution - Code which handles every substitution
public abstract java.lang.String substitute(java.lang.String substitution)
substitution - String to replace all matches
public abstract boolean matches()
public abstract boolean contains()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||