Package org.jrd.backend.decompiling
Class ExpandableUrl
java.lang.Object
org.jrd.backend.decompiling.ExpandableUrl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
collapseEnvVars
(String path) (package private) static String
collapseEnvVars
(String path, String home, String xdgConfigHome, String jrd) static ExpandableUrl
createFromPath
(String path) static ExpandableUrl
(package private) static String
expandEnvVars
(String path) (package private) static String
expandEnvVars
(String path, boolean prependSlash) getFile()
protected static String
toString()
static String
unifySlashes
(String dir) static String
unifySlashes
(String dir, boolean prependSlash)
-
Field Details
-
path
-
-
Constructor Details
-
ExpandableUrl
-
-
Method Details
-
createFromPath
-
createFromStringUrl
public static ExpandableUrl createFromStringUrl(String url) throws ExpandableUrl.MalformedMacroExpansion -
prependFileProtocol
-
expandEnvVars
-
expandEnvVars
-
collapseEnvVars
-
collapseEnvVars
-
unifySlashes
-
unifySlashes
-
getExpandedUrl
- Throws:
MalformedURLException
-
getRawUrl
-
getExpandedPath
-
getRawPath
-
getFile
-
toString
-