Package aQute.lib.fileset
Class FileSet
java.lang.Object
aQute.lib.fileset.FileSet
Implements a FileSet a la Ant/Gradle. A file set is a specification of a set
of files. A file set specification contains a number of '/' separated
segments. The last segment is Glob expression and the preceding segments
specify either a directory, a wildcard directory ('*'), or a set of wildcard
directories ('**').
filesets ::= fileset ( ',' fileset )* fileset ::= ( segment '/' )* filematch segment ::= any | glob glob ::=any ::= '**' filematch::= allfile | anyfile | glob anyfile ::= '**' glob allfile ::= '**'
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static FileSet.DFA
getFiles()
boolean
hasOverlap
(Collection<File> files) boolean
isIncluded
(File file) boolean
isIncluded
(String relativePath) toString()