|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.util.PathMatcher
Utility for matching paths with patterns in an Ant-like way. Examples are provided below. Part of this mapping code has been kindly borrowed from Ant (http://ant.apache.org).
The mapping matches urls using the following rules:
Some examples:
| Constructor Summary | |
PathMatcher()
|
|
| Method Summary | |
static boolean |
match(java.lang.String pattern,
java.lang.String str)
Matches a strign agains the given pattern |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PathMatcher()
| Method Detail |
public static boolean match(java.lang.String pattern,
java.lang.String str)
pattern - the pattern to match againststr - the string to test
true is the arguments matched, false
otherwise
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||