Package com.deltawalker.script
Interface SizeFilter
- All Superinterfaces:
Filter,FolderFilter
A folder comparison filter that excludes or includes files by size.
Created with
Filters.addSizeFilter(boolean, boolean, long, SizeUnit, String).-
Nested Class Summary
Nested classes/interfaces inherited from interface com.deltawalker.script.FolderFilter
FolderFilter.Target -
Method Summary
Methods inherited from interface com.deltawalker.script.Filter
getDescription, getDisplayExpression, getExpression, isEnabled, isRegexTypeMethods inherited from interface com.deltawalker.script.FolderFilter
getTarget
-
Method Details
-
getSize
long getSize()Returns the size this filter compares files with, expressed in theSizeUnitthe filter was created with.- Returns:
- the size, in the unit of this filter
- Since:
- 2.0
-
isLarger
boolean isLarger()Answers whether this filter matches files larger thangetSize(), or files that are not larger.- Returns:
truefor "larger than",falsefor "not larger than"- Since:
- 2.0
-