final class ExtensionFilter extends NameFilter

Represents a filter for files that end in a given list of extensions.

Linear Supertypes
NameFilter, FileFilter, java.io.FileFilter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtensionFilter
  2. NameFilter
  3. FileFilter
  4. FileFilter
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtensionFilter(extensions: String*)

    extensions

    the extensions to accept

Value Members

  1. def &(filter: NameFilter): NameFilter

    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.

    Definition Classes
    ExtensionFilterNameFilter
  2. 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.

    Definition Classes
    ExtensionFilterFileFilter
  3. def -(filter: NameFilter): NameFilter

    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.

    Definition Classes
    ExtensionFilterNameFilter
  4. 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.

    Definition Classes
    ExtensionFilterFileFilter
  5. def accept(name: String): Boolean

    Returns true to include the name, false to exclude it.

    Returns true to include the name, false to exclude it.

    Definition Classes
    ExtensionFilterNameFilter
  6. final def accept(file: File): Boolean

    Accepts File if its getName method is accepted by this filter.

    Accepts File if its getName method is accepted by this filter.

    Definition Classes
    NameFilter → FileFilter
  7. def equals(o: Any): Boolean
    Definition Classes
    ExtensionFilter → AnyRef → Any
  8. val extensions: String*
  9. lazy val hashCode: Int
    Definition Classes
    ExtensionFilter → AnyRef → Any
  10. def toString(): String
    Definition Classes
    ExtensionFilter → AnyRef → Any
  11. def unary_-: NameFilter

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

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

    Definition Classes
    NameFilterFileFilter
  12. def |(filter: NameFilter): NameFilter

    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.

    Definition Classes
    ExtensionFilterNameFilter
  13. 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.

    Definition Classes
    ExtensionFilterFileFilter