- All Superinterfaces:
AntBuilderAware, Buildable, Iterable<File>
- All Known Subinterfaces:
AntlrSourceDirectorySet, ConfigurableFileCollection, ConfigurableFileTree, Configuration, ConsumableConfiguration, DependencyScopeConfiguration, FileTree, GroovySourceDirectorySet, LegacyConfiguration, ResolvableConfiguration, ScalaSourceDirectorySet, SourceDirectorySet, SourceSetOutput
-
Nested Class Summary
Nested Classes
static enumAnt types which a
FileCollectioncan be mapped to. -
Method Summary
Adds this collection to an Ant task as a nested node.
voidAdds this collection to an Ant task as a nested node.
booleanDetermines whether this collection contains the given file.
Restricts the contents of this collection to those files which match the given criteria.
Restricts the contents of this collection to those files which match the given criteria.
Converts this collection to a
FileTree, if not already.Returns the contents of this collection as a platform-specific path.
getFiles()Returns the contents of this collection as a
Set.Returns the content of this collection, asserting it contains exactly one file.
booleanisEmpty()Returns true if this collection is empty.
Returns a
FileCollectionwhich contains the difference between this collection and the given collection.Returns a
FileCollectionwhich contains the union of this collection and the given collection.
-
Method Details
-
getSingleFile
-
getFiles
-
contains
-
getAsPath
-
plus
-
minus
-
filter
-
filter
-
isEmpty
-
getAsFileTree
-
getElements
-
addToAntBuilder
-
addToAntBuilder
-