Package org.apache.commons.vfs2.filter
Class SizeRangeFileFilter
java.lang.Object
org.apache.commons.vfs2.filter.SizeRangeFileFilter
- All Implemented Interfaces:
- Serializable,- FileFilter
Filter that accepts files whose size is >= minimum size and <= maximum
 size.
- Since:
- 2.4
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSizeRangeFileFilter(long minSizeInclusive, long maxSizeInclusive) Constructor with sizes.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanaccept(FileSelectInfo fileSelectInfo) Determines if a file or folder should be selected.
- 
Constructor Details- 
SizeRangeFileFilterConstructor with sizes.- Parameters:
- minSizeInclusive- the minimum file size (inclusive)
- maxSizeInclusive- the maximum file size (inclusive)
 
 
- 
- 
Method Details- 
acceptDescription copied from interface:FileFilterDetermines if a file or folder should be selected.- Specified by:
- acceptin interface- FileFilter
- Parameters:
- fileSelectInfo- the file or folder to select.
- Returns:
- true if the file should be selected.
- Throws:
- FileSystemException- Thrown for file system errors (since 2.4.)
 
 
-