public class UriParser extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static char |
SEPARATOR |
| Constructor and Description |
|---|
UriParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
makeRelative(String basePath,
String path)
Converts an absolute path into a relative path, being a path relative to basePath.
|
static String |
makeRelative(String basePath,
String path,
char separatorChar)
Converts an absolute path into a relative path, being a path relative to basePath.
|
public static String makeRelative(String basePath, String path)
basePath - The base path.path - The path to convert against basePath.public static String makeRelative(String basePath, String path, char separatorChar)
basePath - The base path.path - The path to convert against basePath.separatorChar - Path separator ('\' for windows '/' for others)MMBase 1.9-SNAPSHOT - ${javadoctimestamp}