Constructs a new finder that selects all paths with a name that matches filter and are
immediate children of paths selected by this finder.
Constructs a new finder that selects all paths with a name that matches filter and are
descendants of paths selected by this finder.
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.
Constructs a new finder that selects all paths with name literal that are immediate children
of paths selected by this finder.
Constructs a new finder that selects all paths with name literal that are immediate children
of paths selected by this finder.
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.
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.
Only keeps paths for which f returns true. It is non-strict, so it is not evaluated until the returned finder is evaluated.
Evaluates this finder and converts the results to a Seq of distinct Files.
Evaluates this finder and converts the results to a Seq of distinct Files. The files returned by this method will reflect the underlying filesystem at the
time of calling. If the filesystem changes, two calls to this method might be different.
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 URLs.
Evaluates this finder and converts the results to an Array of URLs..
Applies mapper to each path selected by this PathFinder and returns the path paired with the non-empty result.
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.
Constructs a debugging string for this finder by evaluating it and separating paths by newlines.
Constructs a debugging string for this finder by evaluating it and separating paths by newlines.
Applies mapper to each path selected by this PathFinder and returns the path paired with the non-empty result.
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.
(Since version 0.12.0) Use descendantsExcept instead.
(Since version scala.this.deprecated.init$default$2) Use get
A path finder constructs a set of paths. The set is evaluated by a call to the
getmethod. The set will be different for different calls togetif the underlying filesystem has changed.