public class ExpandableUrl extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ExpandableUrl.MalformedMacroExpansion |
static class |
ExpandableUrl.MalformedURLToPath |
Modifier and Type | Method and Description |
---|---|
static ExpandableUrl |
createFromPath(String path) |
static ExpandableUrl |
createFromStringUrl(String url) |
String |
getExpandedPath() |
URL |
getExpandedURL() |
File |
getFile() |
String |
getRawPath() |
String |
getRawURL() |
static boolean |
isOsWindows() |
String |
toString() |
static String |
unifySlashes(String dir) |
public static ExpandableUrl createFromPath(String path)
public static ExpandableUrl createFromStringUrl(String url) throws ExpandableUrl.MalformedMacroExpansion
public static boolean isOsWindows()
public URL getExpandedURL() throws MalformedURLException
MalformedURLException
public String getRawURL()
public String getExpandedPath()
public String getRawPath()
public File getFile()
Copyright © 2019. All rights reserved.