com.application.areca.impl.tools
Class ArchiveNameFilter
java.lang.Object
com.application.areca.impl.tools.ArchiveNameFilter
- All Implemented Interfaces:
- java.io.FilenameFilter
public class ArchiveNameFilter
- extends java.lang.Object
- implements java.io.FilenameFilter
Archive file filter.
Checks that :
- The file is compatible with the medium
- A manifest exists for the given file
- The manifest's date matches the param dates
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Method Summary |
boolean |
accept(java.io.File dir,
java.lang.String name)
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ArchiveNameFilter
public ArchiveNameFilter(java.util.GregorianCalendar fromDate,
java.util.GregorianCalendar toDate,
AbstractIncrementalFileSystemMedium medium)
accept
public boolean accept(java.io.File dir,
java.lang.String name)
- Specified by:
accept
in interface java.io.FilenameFilter
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object