c

sbt.io

ExactFilter

final class ExactFilter extends NameFilter

A NameFilter that accepts a name if it is exactly equal to matchName.

Linear Supertypes
NameFilter, FileFilter, java.io.FileFilter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExactFilter
  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 ExactFilter(matchName: String)

Value Members

  1. def &(filter: NameFilter): NameFilter

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

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

    Definition Classes
    NameFilter
  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
    FileFilter
  3. def -(filter: NameFilter): NameFilter

    Constructs a filter that accepts a String if it matches this filter but not the given filter.

    Constructs a filter that accepts a String if it matches this filter but not the given filter.

    Definition Classes
    NameFilter
  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
    FileFilter
  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
    ExactFilterNameFilter
  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. val matchName: String
  8. def toString(): String
    Definition Classes
    ExactFilter → AnyRef → Any
  9. 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
  10. def |(filter: NameFilter): NameFilter

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

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

    Definition Classes
    NameFilter
  11. 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
    FileFilter