Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

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

    class PathFactory
    extends java.lang.Object

Method Summary
`PathFactory` | `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#hashCode(), java.lang.Object#getClass(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString()

Method Detail

### addPathVariable

    PathFactory 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