Package com.adaptris.core.fs
Class SizeGreaterThanOrEqual
- java.lang.Object
-
- com.adaptris.core.fs.SizeGreaterThanOrEqual
-
- All Implemented Interfaces:
java.io.FileFilter
public class SizeGreaterThanOrEqual extends java.lang.Object
FileFilter
accepts files based on whether the size of the file is greater or equal to the specified value.
-
-
Constructor Summary
Constructors Constructor Description SizeGreaterThanOrEqual(long fileSize)
Create the filefilter using the specified size.SizeGreaterThanOrEqual(java.lang.String size)
Create the filefilter using the specified size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.io.File pathname)
protected long
getFilesize()
-
-
-
Constructor Detail
-
SizeGreaterThanOrEqual
public SizeGreaterThanOrEqual(java.lang.String size)
Create the filefilter using the specified size.- Parameters:
size
- the size of the file in bytes.
-
SizeGreaterThanOrEqual
public SizeGreaterThanOrEqual(long fileSize)
Create the filefilter using the specified size.- Parameters:
fileSize
- the size of the file in bytes.
-
-