public class UrlPattern
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPattern1(java.lang.String path)
returns null if the path cannot be converted into a pattern
|
java.util.List |
getPatterns() |
static java.util.List |
getTestPatterns() |
static java.lang.String |
getUrlMapping(java.lang.String path) |
static void |
main(java.lang.String[] args) |
boolean |
match(java.lang.String path) |
public java.util.List getPatterns()
public static java.util.List getTestPatterns()
public boolean match(java.lang.String path)
public static java.lang.String getUrlMapping(java.lang.String path)
public static java.lang.String getPattern1(java.lang.String path)
public static void main(java.lang.String[] args)