|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.file.RelativePath
class RelativePath
Represents a relative path from a base directory to a file. Used in file copying to represent both a source and target file path when copying files.
Constructor Summary | |
RelativePath(boolean endsWithFile, java.lang.String segments)
CTOR |
|
RelativePath(boolean endsWithFile, RelativePath parentPath, java.lang.String children)
|
Method Summary | |
---|---|
boolean
|
equals(java.lang.Object o)
|
File
|
getFile(File baseDir)
|
java.lang.String
|
getLastName()
|
RelativePath
|
getParent()
|
java.lang.String
|
getPathString()
|
java.lang.String[]
|
getSegments()
|
int
|
hashCode()
|
boolean
|
isFile()
|
ListIterator
|
segmentIterator()
|
java.lang.String
|
toString()
|
Methods inherited from class java.lang.Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public RelativePath(boolean endsWithFile, java.lang.String segments)
public RelativePath(boolean endsWithFile, RelativePath parentPath, java.lang.String children)
Method Detail |
---|
@Override public boolean equals(java.lang.Object o)
public File getFile(File baseDir)
public java.lang.String getLastName()
public RelativePath getParent()
public java.lang.String getPathString()
public java.lang.String[] getSegments()
@Override public int hashCode()
public boolean isFile()
public ListIterator segmentIterator()
@Override public java.lang.String toString()
Groovy Documentation