FileFilter

trait FileFilter extends FileFilter

A java.io.FileFilter with additional methods for combining filters.

Companion:
object
trait FileFilter
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

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.

Implicitly added by FileFilterOps

Converts a sbt.io.FileFilter to a sbt.nio.file.PathFilter that should accept same the same paths. This can be used for any sbt.io.FileFilter but may also be used to disambiguate the && and || methods for DirectoryFilter, HiddenFileFilter and RegularFileFilter:

Converts a sbt.io.FileFilter to a sbt.nio.file.PathFilter that should accept same the same paths. This can be used for any sbt.io.FileFilter but may also be used to disambiguate the && and || methods for DirectoryFilter, HiddenFileFilter and RegularFileFilter:

 val pathFilter: PathFilter = DirectoryFilter || "**<code>/<code>*.txt"
Returns:

the transformed sbt.nio.file.PathFilter.

Constructs a filter that accepts a File if it does not match this filter.

Constructs a filter that accepts a File if it does not match this filter.

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.

Inherited methods

def accept(x$0: File): Boolean
Inherited from:
FileFilter

Concrete fields

Implicitly added by FileFilterOps