Methods
| Modifier and Type |
Method and Description |
static String |
addPLatformSlashIfNeeded(String directory) |
static String |
addSuffix(String filename,
String dottedSuffix) |
static File |
changeSuffix(File file,
String dottedSuffix) |
static LessSource.FileSource |
changeSuffix(LessSource.FileSource source,
String dottedSuffix) |
static String |
changeSuffix(String filename,
String dottedSuffix) |
static URI |
changeSuffix(URI uri,
String dottedSuffix) |
static String |
convertPlatformSeparatorToUri(String relative) |
static String |
convertUriToPlatformSeparator(String relative) |
static String |
getRelativePath(String basePath,
String targetPath,
String pathSeparator)
taken from stackoverflow:
http://stackoverflow.com/questions/204784/how-to-construct
-a-relative-path-in-java-from-two-absolute-paths-or-urls
Get the relative path from one file to another, specifying the directory
separator.
|
static boolean |
isQuotedUrl(String url) |
static String |
normalizeNoEndSeparator(String path,
String separator) |
static String |
relativize(File from,
File to) |
static String |
relativizeSourceURIs(LessSource from,
LessSource to) |
static URL |
toParentURL(URL url) |