sealed class SimpleFilter extends NameFilter
A NameFilter that accepts a name if the predicate acceptFunction
accepts it.
- Alphabetic
- By Inheritance
- SimpleFilter
- NameFilter
- FileFilter
- FileFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SimpleFilter(acceptFunction: (String) ⇒ Boolean)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def &(filter: NameFilter): NameFilter
Constructs a filter that accepts a
String
if it matches both this filter and the givenfilter
.Constructs a filter that accepts a
String
if it matches both this filter and the givenfilter
.- Definition Classes
- NameFilter
- def &&(filter: FileFilter): FileFilter
Constructs a filter that accepts a
File
if it matches both this filter and the givenfilter
.Constructs a filter that accepts a
File
if it matches both this filter and the givenfilter
.- Definition Classes
- FileFilter
- def -(filter: NameFilter): NameFilter
Constructs a filter that accepts a
String
if it matches this filter but not the givenfilter
.Constructs a filter that accepts a
String
if it matches this filter but not the givenfilter
.- Definition Classes
- NameFilter
- def --(filter: FileFilter): FileFilter
Constructs a filter that accepts a
File
if it matches this filter but does not match the givenfilter
.Constructs a filter that accepts a
File
if it matches this filter but does not match the givenfilter
.- Definition Classes
- FileFilter
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def accept(name: String): Boolean
Returns
true
to include thename
,false
to exclude it.Returns
true
to include thename
,false
to exclude it.- Definition Classes
- SimpleFilter → NameFilter
- final def accept(file: File): Boolean
Accepts
File
if itsgetName
method is accepted by this filter.Accepts
File
if itsgetName
method is accepted by this filter.- Definition Classes
- NameFilter → FileFilter
- val acceptFunction: (String) ⇒ Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- NameFilter → FileFilter
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])
- def |(filter: NameFilter): NameFilter
Constructs a filter that accepts a
String
if it matches either this filter or the givenfilter
.Constructs a filter that accepts a
String
if it matches either this filter or the givenfilter
.- Definition Classes
- NameFilter
- def ||(filter: FileFilter): FileFilter
Constructs a filter that accepts a
File
if it matches either this filter or the givenfilter
.Constructs a filter that accepts a
File
if it matches either this filter or the givenfilter
.- Definition Classes
- FileFilter