Package weka.core

# Class ClassCache.ClassFileFilter

java.lang.Object
weka.core.ClassCache.ClassFileFilter

All Implemented Interfaces:
  `FileFilter`

Enclosing class:
  ClassCache

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

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClassFileFilter()`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### ClassFileFilter

    public ClassFileFilter()

- ## Method Details

  - ### accept

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