|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.web.service.spi.util.Path
public class Path
Divers utilities related to request paths.
| Method Summary | |
|---|---|
static String |
normalizePattern(String pattern)
Normalizes a pattern = prepends the path with slash (/) if the path does not start with a slash. |
static String[] |
normalizePatterns(String[] urlPatterns)
Normalize an array of patterns. |
static String |
normalizeResourcePath(String path)
Normalize the path for accesing a resource, meaning that will replace consecutive slashes and will remove a leading slash if present. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String normalizeResourcePath(String path)
path - path to normalize
public static String[] normalizePatterns(String[] urlPatterns)
urlPatterns - to mormalize
public static String normalizePattern(String pattern)
pattern - to normalize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||