| Package | Description |
|---|---|
| org.gradle.api.file |
Classes for working with files.
|
| org.gradle.api.internal.file | |
| org.gradle.api.internal.file.copy | |
| org.gradle.api.internal.file.pattern |
| Modifier and Type | Method and Description |
|---|---|
RelativePath |
RelativePath.append(boolean endsWithFile,
String... segments)
Appends the given names to the end of this path.
|
RelativePath |
RelativePath.append(RelativePath other)
Appends the given path to the end of this path.
|
RelativePath |
RelativePath.getParent()
Returns the parent of this path.
|
RelativePath |
FileTreeElement.getRelativePath()
Returns the path of this file, relative to the root of the containing file tree.
|
static RelativePath |
RelativePath.parse(boolean isFile,
RelativePath parent,
String path) |
static RelativePath |
RelativePath.parse(boolean isFile,
String path) |
RelativePath |
RelativePath.plus(RelativePath other)
Appends the given path to the end of this path.
|
RelativePath |
RelativePath.prepend(String... segments)
Prepends the given names to the start of this path.
|
RelativePath |
RelativePath.replaceLastName(String name)
Returns a copy of this path, with the last name replaced with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
RelativePath |
RelativePath.append(RelativePath other)
Appends the given path to the end of this path.
|
static RelativePath |
RelativePath.parse(boolean isFile,
RelativePath parent,
String path) |
RelativePath |
RelativePath.plus(RelativePath other)
Appends the given path to the end of this path.
|
void |
FileCopyDetails.setRelativePath(RelativePath path)
Sets the destination path of this file.
|
| Modifier and Type | Method and Description |
|---|---|
RelativePath |
DefaultFileTreeElement.getRelativePath() |
| Constructor and Description |
|---|
DefaultFileTreeElement(File file,
RelativePath relativePath) |
| Constructor and Description |
|---|
RelativePathSpec(Spec<? super RelativePath> pathSpec) |
| Modifier and Type | Method and Description |
|---|---|
RelativePath |
ReadableCopySpec.getDestPath() |
RelativePath |
CopySpecImpl.getDestPath() |
| Modifier and Type | Method and Description |
|---|---|
static Spec<RelativePath> |
PatternMatcherFactory.getPatternMatcher(boolean partialMatchDirs,
boolean caseSensitive,
String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NameOnlyPatternMatcher.isSatisfiedBy(RelativePath path) |
boolean |
DefaultPatternMatcher.isSatisfiedBy(RelativePath pathToTest) |
Copyright © 2013. All rights reserved