public class MatchString
extends java.lang.Object
Properties:
prefix and suffix.
glob.
match is defined, this causes the
regular expression match to be case insensitive. By default, case counts.
| Constructor and Description |
|---|
MatchString(java.lang.String propsPrefix)
Create a matcher for per-request URL checking.
|
MatchString(java.lang.String propsPrefix,
java.util.Properties props)
Create a matcher for one-time-only checking.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(java.lang.String url)
See if this is our url.
|
boolean |
match(java.lang.String url,
java.util.Properties props)
See if this is our url.
|
java.lang.String |
prefix()
Return our prefix
|
java.lang.String |
toString()
print nicely
|
public MatchString(java.lang.String propsPrefix)
propsPrefix - The prefix to use in the properties object.public MatchString(java.lang.String propsPrefix,
java.util.Properties props)
propsPrefix - The prefix to use in the properties object.props - The table to find the properties in.public boolean match(java.lang.String url)
public boolean match(java.lang.String url,
java.util.Properties props)
public java.lang.String prefix()
public java.lang.String toString()
toString in class java.lang.Object