sbt.io

NameFilter

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
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

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

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

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

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

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. 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
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. 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
  25. final def wait(): Unit

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

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

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

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

  29. 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

Inherited from FileFilter

Inherited from java.io.FileFilter

Inherited from AnyRef

Inherited from Any

Ungrouped