SimpleFileFilter

sealed class SimpleFileFilter(val acceptFunction: File => Boolean) extends FileFilter

A FileFilter that selects files according the predicate acceptFunction.

trait FileFilter
class Object
trait Matchable
class Any

Value members

Concrete methods

final def accept(file: File): Boolean
override def equals(o: Any): Boolean
Definition Classes
Any
override def hashCode(): Int
Definition Classes
Any
override def toString: String
Definition Classes
Any

Inherited methods

def &&(filter: FileFilter): FileFilter

Constructs a filter that accepts a File if it matches both this filter and the given filter.

Constructs a filter that accepts a File if it matches both this filter and the given filter.

Inherited from:
FileFilter
def --(filter: FileFilter): FileFilter

Constructs a filter that accepts a File if it matches this filter but does not match the given filter.

Constructs a filter that accepts a File if it matches this filter but does not match the given filter.

Inherited from:
FileFilter

Constructs a filter that accepts a File if it does not match this filter.

Constructs a filter that accepts a File if it does not match this filter.

Inherited from:
FileFilter
def ||(filter: FileFilter): FileFilter

Constructs a filter that accepts a File if it matches either this filter or the given filter.

Constructs a filter that accepts a File if it matches either this filter or the given filter.

Inherited from:
FileFilter

Concrete fields

val acceptFunction: File => Boolean