Package com.deltawalker.script
Interface AttributeFilter
- All Superinterfaces:
Filter,FolderFilter
A folder comparison filter that excludes or includes files and folders
with a given attribute, such as hidden or writable. Which
Resource.Attributes are available depends on the operating system.
Created with Filters.addAttributeFilter(boolean, Resource.Attribute, FolderFilter.Target, String).-
Nested Class Summary
Nested classes/interfaces inherited from interface com.deltawalker.script.FolderFilter
FolderFilter.Target -
Method Summary
Modifier and TypeMethodDescriptionReturns the resource attribute this filter is configured with.booleanAnswers whether this is an exclusion or an inclusion filter.Methods inherited from interface com.deltawalker.script.Filter
getDescription, getDisplayExpression, getExpression, isEnabled, isRegexTypeMethods inherited from interface com.deltawalker.script.FolderFilter
getTarget
-
Method Details
-
getAttribute
Resource.Attribute getAttribute()Returns the resource attribute this filter is configured with.- Returns:
- the
Resource.Attributeassociated with this filter. - Since:
- 2.0
- See Also:
-
getExclude
boolean getExclude()Answers whether this is an exclusion or an inclusion filter.- Returns:
trueif this is an exclusion filter;falseotherwise.- Since:
- 2.0
-