|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MatchingStrategy
Matching strategy.
It determines how and if path is matching a pattern.
WinningStrategy
Field Summary | |
---|---|
static MatchingStrategy |
PLAIN_STRING_STRATEGY
This strategy only checks if path starts with pattern (case-sensitive). |
static MatchingStrategy |
SIMPLE_PATTERN_STRATEGY
This strategy recognizes (*) and ($) as wildcards. |
Method Summary | |
---|---|
boolean |
matches(String pattern,
String pathToTest)
Matches given path with a pattern. |
Field Detail |
---|
static final MatchingStrategy PLAIN_STRING_STRATEGY
static final MatchingStrategy SIMPLE_PATTERN_STRATEGY
Method Detail |
---|
boolean matches(String pattern, String pathToTest)
pattern
- patternpathToTest
- path to test
true
if match
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |