public static final class UrlPattern.MatchAllPattern extends Object implements UrlPattern
UrlPattern.MatchAllPattern
MATCH_ALL
Modifier | Constructor and Description |
---|---|
protected |
MatchAllPattern()
Instantiates a new MatchAllPattern instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the pattern length.
|
String |
getPatternString()
Returns the pattern string.
|
boolean |
match(String str)
Does the patter match the given url?
|
protected MatchAllPattern()
public boolean match(String str)
UrlPattern
match
in interface UrlPattern
str
- url to matchtrue
if the given URL matches the patternpublic int getLength()
UrlPattern
getLength
in interface UrlPattern
public String getPatternString()
UrlPattern
getPatternString
in interface UrlPattern
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.