Package weka.core

# Class ClassCache.DirectoryFilter

java.lang.Object
weka.core.ClassCache.DirectoryFilter

All Implemented Interfaces:
  `FileFilter`

Enclosing class:
  ClassCache

public static class ClassCache.DirectoryFilter extends Object implements FileFilter
For filtering classes.

Version:
  $Revision: 14791 $
Author:
  fracpete (fracpete at waikato dot ac dot nz)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DirectoryFilter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `accept(File pathname)`
  Checks whether the file is a directory.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DirectoryFilter

    public DirectoryFilter()

- ## Method Details

  - ### accept

    public boolean accept(File pathname)
    Checks whether the file is a directory.
    Specified by:
      `accept` in interface `FileFilter`
    Parameters:
      `pathname` - the file to check
    Returns:
      true if a directory