Class PathFactory
java.lang.Object
org.gradle.plugins.ide.idea.model.PathFactory
Path Factory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPathVariable
(String name, File dir) Creates a path for the given file.Creates a path for the given file.Creates a path for the given URL.Creates a path for the given URL.relativePath
(String pathVar, File file) Creates a path relative to the given path variable.
-
Constructor Details
-
PathFactory
public PathFactory()
-
-
Method Details
-
addPathVariable
-
path
Creates a path for the given file. -
path
Creates a path for the given file.- Parameters:
file
- The file to generate a path foruseFileScheme
- Whether 'file://' prefixed URI should be used even for JAR files
-
relativePath
Creates a path relative to the given path variable. -
path
Creates a path for the given URL. -
path
Creates a path for the given URL.
-