|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface FileCollection extends java.lang.Iterable
A FileCollection represents a collection of files which you can query in certain ways. A file collection is often used to define a classpath, or to add files to a container.
You can obtain a FileCollection instance using org.gradle.api.Project#files.
Method Summary | |
---|---|
java.lang.String
|
getAsPath()
Returns the contents of this collection as a path. |
Set
|
getFiles()
Returns the contents of this collection. |
File
|
getSingleFile()
Returns the content of this collection, asserting it contains exactly one file. |
FileCollection
|
plus(FileCollection collection)
Returns a { |
Methods inherited from interface java.lang.Iterable | |
---|---|
iterator |
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Method Detail |
---|
public java.lang.String getAsPath()
public Set getFiles()
public File getSingleFile()
public FileCollection plus(FileCollection collection)
Groovy Documentation