Trait/Object

sbt.io

NameFilter

Related Docs: object NameFilter | package io

Permalink

trait NameFilter extends FileFilter

A filter on Strings. This also functions as a FileFilter by applying the String filter to the value of a File's getName.

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

Abstract Value Members

  1. abstract def accept(name: String): Boolean

    Permalink

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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(filter: NameFilter): NameFilter

    Permalink

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

  4. def &&(filter: FileFilter): FileFilter

    Permalink

    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
  5. def -(filter: NameFilter): NameFilter

    Permalink

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

  6. def --(filter: FileFilter): FileFilter

    Permalink

    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
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def accept(file: File): Boolean

    Permalink

    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
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def unary_-: NameFilter

    Permalink

    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
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def |(filter: NameFilter): NameFilter

    Permalink

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

  27. def ||(filter: FileFilter): FileFilter

    Permalink

    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

Inherited from FileFilter

Inherited from java.io.FileFilter

Inherited from AnyRef

Inherited from Any

Ungrouped