|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IncludesFileCriteria
A specification of files that are involved in a file operation.
| Method Summary | |
|---|---|
void |
addRegexFilter(java.lang.String filter)
After processing includes, then excludes, filters are applied last to remove remaining files that match the specified regular expression. |
void |
exclude(java.lang.String filePattern)
Excludes files matching the file pattern from the file patter. |
java.util.Set<java.lang.String> |
getExcludes()
Returns the file patterns that are excluded. |
java.util.Set<FilePattern> |
getIncludePatterns()
Returns the file patterns that are included, returned as FilePattern objects, which allow a required minimum number of matching files to be found when using wildcard file patterns. |
java.util.Set<java.lang.String> |
getIncludes()
Returns the file patterns that are included, returned as String objects. |
java.util.Set<java.lang.String> |
getRegexFilters()
Returns the regular expressions that filters out files. |
void |
include(java.lang.String filePattern)
Includes files matching the specified file pattern. |
void |
include(java.lang.String filePattern,
int minimumCount)
Includes files matching the specified file pattern and minimum count, which allow a required minimum number of matching files to be found when using wildcard file patterns. |
| Methods inherited from interface flux.file.FileCriteria |
|---|
getHost, setHost |
| Method Detail |
|---|
void addRegexFilter(java.lang.String filter)
filter - The regular expression used to filter out files.
java.lang.IllegalArgumentException - If the argument is null or empty.void exclude(java.lang.String filePattern)
filePattern - The file pattern to which files are matched.
java.lang.IllegalArgumentException - If the argument is null or empty.java.util.Set<java.lang.String> getExcludes()
java.util.Set<FilePattern> getIncludePatterns()
java.util.Set<java.lang.String> getIncludes()
java.util.Set<java.lang.String> getRegexFilters()
void include(java.lang.String filePattern)
filePattern - The file pattern to which files are matched.
java.lang.IllegalArgumentException - If filePattern is null or empty.
void include(java.lang.String filePattern,
int minimumCount)
filePattern - The file pattern to which files are matched.minimumCount - The number of files that must be matched.
java.lang.IllegalArgumentException - If the argument is null or empty.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||