public final class TestConnectorPathUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
basedir(String url)
Derive the path portion of the given URL.
|
static String |
dirname(String path)
Returns the directory path portion of a file specification string.
|
static String[] |
dirnames(String path) |
static String |
filename(String path)
Returns the filename portion of a file specification string.
|
static String |
protocol(String url)
Return the protocol name.
|
static String |
toRelative(File basedir,
String absolutePath) |
public static String dirname(String path)
public static String filename(String path)
public static String protocol(String url)
http://www.codehause.org this method will return httpurl - the urlpublic static String basedir(String url)
url - the file-repository URLCopyright © 2010-2013 The Eclipse Foundation. All Rights Reserved.