implicit final class SingleFilePathFinderCombinator extends AnyVal with Combinator
- Alphabetic
- By Inheritance
- SingleFilePathFinderCombinator
- Combinator
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +++(paths: PathFinder): PathFinder
The union of the paths found by this
PathFinderwith the paths found by 'paths'.The union of the paths found by this
PathFinderwith the paths found by 'paths'.- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- def ---(excludePaths: PathFinder): PathFinder
Excludes all paths from
excludePathsfrom the paths selected by thisPathFinder.Excludes all paths from
excludePathsfrom the paths selected by thisPathFinder.- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def absString(): String
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.
- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def descendantsExcept(include: FileFilter, intermediateExclude: FileFilter): PathFinder
Selects all descendant paths with a name that matches
includeand do not have an intermediate path with a name that matchesintermediateExclude.Selects all descendant paths with a name that matches
includeand do not have an intermediate path with a name that matchesintermediateExclude.Typical usage is
descendantsExcept("*.jar", ".svn")- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- def distinct(): PathFinder
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.
- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- val file: File
- def filter(f: (File) => Boolean): PathFinder
Only keeps paths for which
freturns true.Only keeps paths for which
freturns true. It is non-strict, so it is not evaluated until the returned finder is evaluated.- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- def flatMap(f: (File) => PathFinder): PathFinder
Non-strict flatMap: no evaluation occurs until the returned finder is evaluated.
Non-strict flatMap: no evaluation occurs until the returned finder is evaluated.
- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getPaths(): Seq[String]
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.
- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- def getURLs(): Array[URL]
Evaluates this finder and converts the results to an
ArrayofURLs.Evaluates this finder and converts the results to an
ArrayofURLs.- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def pair[T](mapper: (File) => Option[T], errorIfNone: Boolean): Seq[(File, T)]
Applies
mapperto each path selected by this PathFinder and returns the path paired with the non-empty result.Applies
mapperto each path selected by this PathFinder and returns the path paired with the non-empty result. If the result is empty (None) anderrorIfNoneis true, an exception is thrown. IferrorIfNoneis false, the path is dropped from the returned Traversable.- Definition Classes
- SingleFilePathFinderCombinator → Combinator
- def toString(): String
- Definition Classes
- Any