Groovy Documentation

org.gradle.plugins.idea.model
[Groovy] Class PathFactory

java.lang.Object
  org.gradle.plugins.idea.model.PathFactory

class PathFactory

Method Summary
void addPathVariable(java.lang.String name, java.io.File dir)

Path path(java.io.File file)

Creates a path for the given file.

Path path(java.lang.String url)

Creates a path for the given URL.

Path relativePath(java.lang.String pathVar, java.io.File file)

Creates a path relative to the given path variable.

java.lang.Object toUrl(java.lang.String scheme, java.io.File file)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

addPathVariable

void addPathVariable(java.lang.String name, java.io.File dir)


path

Path path(java.io.File file)
Creates a path for the given file.


path

Path path(java.lang.String url)
Creates a path for the given URL.


relativePath

Path relativePath(java.lang.String pathVar, java.io.File file)
Creates a path relative to the given path variable.


toUrl

java.lang.Object toUrl(java.lang.String scheme, java.io.File file)


 

Groovy Documentation