public class SizeRangeFileFilter extends Object implements FileFilter, Serializable
| Constructor and Description |
|---|
SizeRangeFileFilter(long minSizeInclusive,
long maxSizeInclusive)
Constructor with sizes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FileSelectInfo fileSelectInfo)
Determines if a file or folder should be selected.
|
public SizeRangeFileFilter(long minSizeInclusive,
long maxSizeInclusive)
minSizeInclusive - the minimum file size (inclusive)maxSizeInclusive - the maximum file size (inclusive)public boolean accept(FileSelectInfo fileSelectInfo) throws FileSystemException
FileFilteraccept in interface FileFilterfileSelectInfo - the file or folder to select.FileSystemException - Thrown for file system errors (since 2.4.)Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.