object PathFilter extends LowPriorityPathFilter
- Alphabetic
- By Inheritance
- PathFilter
- LowPriorityPathFilter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit final
class
Ops extends AnyVal with PathFilterExtensions
Provides extension methods for combining or negating PathFilter instances or or other filter types that can be safely converted (see sbt.io.DirectoryFilter and sbt.io.HiddenFileFilter).
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(globs: Glob*): PathFilter
Returns a PathFilter that accepts any path for which there exists a Glob that matches the path
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromAttributePredicate(filter: (FileAttributes) ⇒ Boolean): PathFilter
Converts a function from
FileAttributes
toBoolean
to a PathFilter by ignoring thePath
parameter to PathFilter.accept.Converts a function from
FileAttributes
toBoolean
to a PathFilter by ignoring thePath
parameter to PathFilter.accept.- filter
the function to wrap
- returns
the PathFilter.
-
def
fromFileFilter(fileFilter: FileFilter): PathFilter
Converts an instance of sbt.io.FileFilter to an sbt.nio.file.PathFilter.
Converts an instance of sbt.io.FileFilter to an sbt.nio.file.PathFilter. It will de-structure the sbt.io.FileFilter if possible to convert it to an equivalent, and possibly more efficient, PathFilter.
- fileFilter
the filter to convert
- returns
the converted.
-
def
fromPathPredicate(filter: (Path) ⇒ Boolean): PathFilter
Converts a function from
Path
toBoolean
to a PathFilter by ignoring the FileAttributes parameter to PathFilter.accept.Converts a function from
Path
toBoolean
to a PathFilter by ignoring the FileAttributes parameter to PathFilter.accept.- filter
the function to wrap
- returns
the PathFilter.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
def
globToPathFilter(glob: Glob): PathFilter
Converts a Glob to a PathFilter.
Converts a Glob to a PathFilter. The PathFilter.accept method will ignore the FileAttributes parameter and return true if the
path
parameter is accepted by the input glob.- glob
the glob string to convert to a filter, e.g. "**
/
*.scala"- returns
the PathFilter corresponding to the parsed Glob. May throw an exception if the glob string can not be parsed into a Glob.
- Definition Classes
- LowPriorityPathFilter
-
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()
-
implicit
def
stringToPathFilter(glob: String): PathFilter
Converts a glob string to a sbt.nio.file.PathFilter.
Converts a glob string to a sbt.nio.file.PathFilter.
- glob
the glob string to convert to a filter, e.g. "**
/
*.scala"- returns
the PathFilter corresponding to the parsed Glob. May throw an exception if the glob string can not be parsed into a Glob.
- Definition Classes
- LowPriorityPathFilter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()