public class LastModifiedLimit extends java.lang.Object implements MFileFilter
Constructor and Description |
---|
LastModifiedLimit(long lastModifiedLimitInMillis)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MFile dataset)
Tests if a specified MFile should be included in a file collection.
|
long |
getLastModifiedLimitInMillis() |
public LastModifiedLimit(long lastModifiedLimitInMillis)
lastModifiedLimitInMillis
- accept datasets whose lastModified() time is at least this many msecs in the pastpublic boolean accept(MFile dataset)
MFileFilter
accept
in interface MFileFilter
dataset
- the MFiletrue
if and only if the mfile should be
included in the file collection; false
otherwise.public long getLastModifiedLimitInMillis()