- Companion
- object
Value members
Abstract methods
The union of the paths found by this PathFinder
with the paths found by 'paths'.
The union of the paths found by this PathFinder
with the paths found by 'paths'.
Excludes all paths from excludePaths
from the paths selected by this PathFinder
.
Excludes all paths from excludePaths
from the paths selected by this PathFinder
.
Constructs a string by evaluating this finder, converting the resulting Paths to absolute path strings, and joining them with the platform path separator.
Constructs a string by evaluating this finder, converting the resulting Paths to absolute path strings, and joining them with the platform path separator.
Selects all descendant paths with a name that matches include
and do not have an intermediate path with a name that matches intermediateExclude
.
Selects all descendant paths with a name that matches include
and do not have an intermediate path with a name that matches intermediateExclude
.
Typical usage is descendantsExcept("*.jar", ".svn")
Create a PathFinder from this one where each path has a unique name. A single path is arbitrarily selected from the set of paths with the same name.
Create a PathFinder from this one where each path has a unique name. A single path is arbitrarily selected from the set of paths with the same name.
Only keeps paths for which f
returns true.
It is non-strict, so it is not evaluated until the returned finder is evaluated.
Only keeps paths for which f
returns true.
It is non-strict, so it is not evaluated until the returned finder is evaluated.
Non-strict flatMap: no evaluation occurs until the returned finder is evaluated.
Non-strict flatMap: no evaluation occurs until the returned finder is evaluated.
Evaluates this finder and converts the results to a distinct sequence of absolute path strings.
Evaluates this finder and converts the results to a distinct sequence of absolute path strings.
Evaluates this finder and converts the results to an Array
of URL
s.
Evaluates this finder and converts the results to an Array
of URL
s.
Applies mapper
to each path selected by this PathFinder
and returns the path paired with the non-empty result.
If the result is empty (None) and errorIfNone
is true, an exception is thrown.
If errorIfNone
is false, the path is dropped from the returned Traversable.
Applies mapper
to each path selected by this PathFinder
and returns the path paired with the non-empty result.
If the result is empty (None) and errorIfNone
is true, an exception is thrown.
If errorIfNone
is false, the path is dropped from the returned Traversable.