|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.web.extender.war.internal.util.Path
public class Path
Divers utilities related to request paths (copy of the same class form Pax Web).
Method Summary | |
---|---|
static java.lang.String |
getDirectParent(java.net.URL entry)
Finds the direct parent of the path of the given URL. |
static java.lang.String |
normalizeResourcePath(java.lang.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 java.lang.String normalizeResourcePath(java.lang.String path)
path
- path to normalize
public static java.lang.String getDirectParent(java.net.URL entry)
entry
- A location.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |