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 Details

    • INSTANCE

      public static final FileFilter INSTANCE
      Singleton instance.
  • Constructor Details

    • DirectoryFileFilter

      public DirectoryFileFilter()
  • Method Details

    • accept

      public boolean accept(File file)
      Accept the given file only if it is a directory.
      Specified by:
      accept in interface FileFilter
      Parameters:
      file - the file
      Returns:
      true if the given file is a directory