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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. 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
  4. 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
  5. 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
  6. 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
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. 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
  9. 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
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(o: Any): Boolean
    Definition Classes
    ExtensionFilter → AnyRef → Any
  14. val extensions: String*
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. lazy val hashCode: Int
    Definition Classes
    ExtensionFilter → 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
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    ExtensionFilter → 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( ... ) @native()
  28. 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
  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
    ExtensionFilterFileFilter

Inherited from NameFilter

Inherited from FileFilter

Inherited from java.io.FileFilter

Inherited from AnyRef

Inherited from Any

Ungrouped