final class PathUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
PathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
basedir(java.lang.String url)
Derive the path portion of the given URL.
|
(package private) static java.lang.String |
decode(java.lang.String url)
Decodes the specified (portion of a) URL.
|
static java.lang.String |
protocol(java.lang.String url)
Return the protocol name.
|
public static java.lang.String protocol(java.lang.String url)
http://www.codehause.org this method will return httpurl - the urlpublic static java.lang.String basedir(java.lang.String url)
url - the file-repository URLstatic java.lang.String decode(java.lang.String url)
url - The URL to decode, may be null.null if the input was null.