| |
|
| java.lang.Object org.apache.cactus.internal.util.UrlUtil
UrlUtil | public class UrlUtil (Code) | | Various utility methods for URL manipulation.
version: $Id: UrlUtil.java 238991 2004-05-22 11:34:50Z vmassol $ |
Method Summary | |
public static String | getPath(URL theURL) Returns the path part of the URL. | public static String | getQuery(URL theURL) Returns the query string of the URL. |
getPath | public static String getPath(URL theURL)(Code) | | Returns the path part of the URL. This method is needed for
JDK 1.2 support as URL.getPath() does not exist in
JDK 1.2 (only for JDK 1.3+).
Parameters: theURL - the URL from which to extract the path the path part of the URL |
getQuery | public static String getQuery(URL theURL)(Code) | | Returns the query string of the URL. This method is needed for
JDK 1.2 support as URL.getQuery() does not exist in
JDK 1.2 (only for JDK 1.3+).
Parameters: theURL - the URL from which to extract the query string the query string portion of the URL |
|
|
|