|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.internal.util.UrlUtil
public class UrlUtil
Various utility methods for URL manipulation.
Constructor Summary | |
---|---|
UrlUtil()
|
Method Summary | |
---|---|
static java.lang.String |
getPath(java.net.URL theURL)
Returns the path part of the URL. |
static java.lang.String |
getQuery(java.net.URL theURL)
Returns the query string of the URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlUtil()
Method Detail |
---|
public static java.lang.String getPath(java.net.URL theURL)
URL.getPath()
does not exist in
JDK 1.2 (only for JDK 1.3+).
theURL
- the URL from which to extract the path
public static java.lang.String getQuery(java.net.URL theURL)
URL.getQuery()
does not exist in
JDK 1.2 (only for JDK 1.3+).
theURL
- the URL from which to extract the query string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |