api / org.gradle.plugins.ide.idea.model / PathFactory

PathFactory

open class PathFactory

Path Factory.

Constructors

<init>

PathFactory()

Path Factory.

Functions

addPathVariable

open fun addPathVariable(name: String, dir: File): PathFactory

path

open fun path(file: File): FilePath
open fun path(file: File, useFileScheme: Boolean): FilePath

Creates a path for the given file.

open fun path(url: String): Path
open fun path(url: String, relPath: String): Path

Creates a path for the given URL.

relativePath

open fun relativePath(pathVar: String, file: File): FilePath

Creates a path relative to the given path variable.