Package com.jalios.io
Class ModifiedFileFilter
java.lang.Object
com.jalios.io.ModifiedFileFilter
- All Implemented Interfaces:
FileFilter
This class implements java.io.FileFilter and accepts only files
modified since the given time.
- Author:
- Olivier Dedieu
-
Constructor Summary
ConstructorsConstructorDescriptionModifiedFileFilter(long mtime) Construct a ModifiedFileFilter which accepts only files modified since the given mtime.ModifiedFileFilter(Date mdate) Construct a ModifiedFileFilter which accepts only files modified since the given mdate. -
Method Summary
-
Constructor Details
-
ModifiedFileFilter
public ModifiedFileFilter(long mtime) Construct a ModifiedFileFilter which accepts only files modified since the given mtime.- Parameters:
mtime- the modified time
-
ModifiedFileFilter
Construct a ModifiedFileFilter which accepts only files modified since the given mdate.- Parameters:
mdate- the modified date
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceFileFilter
-
main
- Throws:
Exception
-