public class InputFiles
extends java.lang.Object
| Constructor and Description |
|---|
InputFiles(org.gradle.api.Project project)
Constructor.
|
InputFiles(org.gradle.api.Project project,
java.lang.String inputMask)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.file.FileTree |
apply(java.io.File baseFile)
Produces a file tree from the parameter base file.
|
org.gradle.api.file.FileTree |
getEmptyInput()
Produces an empty file tree.
|
org.gradle.api.file.FileTree |
getFileTreeInput(java.io.File inputDir)
Produces a file tree rooted at the parameter input directory, containing
the files that match the input mask.
|
org.gradle.api.file.FileTree |
getSingleFileInput(java.io.File inputFile)
Products a file tree for a temporary copy of the single file parameter,
without checking the input mask.
|
public InputFiles(org.gradle.api.Project project)
project - The project the conversion is for.public InputFiles(org.gradle.api.Project project,
java.lang.String inputMask)
project - The project the conversion is for.inputMask - The input mask.public org.gradle.api.file.FileTree apply(java.io.File baseFile)
baseFile - The file to start from.public org.gradle.api.file.FileTree getEmptyInput()
public org.gradle.api.file.FileTree getFileTreeInput(java.io.File inputDir)
inputDir - The root of the file tree.public org.gradle.api.file.FileTree getSingleFileInput(java.io.File inputFile)
inputFile - The file to convert to a file tree.