Package com.tangosol.persistence
Class ArchiverHelper.DirectoryFileFilter
- java.lang.Object
-
- com.tangosol.persistence.ArchiverHelper.DirectoryFileFilter
-
- All Implemented Interfaces:
FileFilter
- Enclosing class:
- ArchiverHelper
public static class ArchiverHelper.DirectoryFileFilter extends Object implements FileFilter
FileFilter implementation that only includes directories.
-
-
Field Summary
Fields Modifier and Type Field Description static FileFilter
INSTANCE
Singleton instance.
-
Constructor Summary
Constructors Constructor Description DirectoryFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(File file)
Accept the given file only if it is a directory.
-
-
-
Field Detail
-
INSTANCE
public static final FileFilter INSTANCE
Singleton instance.
-
-
Method Detail
-
accept
public boolean accept(File file)
Accept the given file only if it is a directory.- Specified by:
accept
in interfaceFileFilter
- Parameters:
file
- the file- Returns:
- true if the given file is a directory
-
-