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.
|
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