Type | Name and description |
---|---|
PathFactory |
addPathVariable(String name, File dir) |
FilePath |
path(File file) Creates a path for the given file. |
FilePath |
path(File file, boolean useFileScheme) Creates a path for the given file. |
Path |
path(String url) Creates a path for the given URL. |
Path |
path(String url, String relPath) Creates a path for the given URL. |
FilePath |
relativePath(String pathVar, File file) Creates a path relative to the given path variable. |
Creates a path for the given file.
file
- The file to generate a path foruseFileScheme
- Whether 'file://' prefixed URI should be used even for JAR files