Packages

c

sbt.io.PathFinder.Combinator

SingleFilePathFinderCombinator

implicit final class SingleFilePathFinderCombinator extends AnyVal with Combinator

Linear Supertypes
Combinator, AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleFilePathFinderCombinator
  2. Combinator
  3. AnyVal
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SingleFilePathFinderCombinator(file: File)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +++(paths: PathFinder): PathFinder

    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'.

    Definition Classes
    SingleFilePathFinderCombinatorCombinator
  4. def ---(excludePaths: PathFinder): PathFinder

    Excludes all paths from excludePaths from the paths selected by this PathFinder.

    Excludes all paths from excludePaths from the paths selected by this PathFinder.

    Definition Classes
    SingleFilePathFinderCombinatorCombinator
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. 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
    SingleFilePathFinderCombinatorCombinator
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def descendantsExcept(include: FileFilter, intermediateExclude: FileFilter): PathFinder

    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")

    Definition Classes
    SingleFilePathFinderCombinatorCombinator
  9. 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
    SingleFilePathFinderCombinatorCombinator
  10. val file: File
  11. def filter(f: (File) ⇒ Boolean): PathFinder

    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.

    Definition Classes
    SingleFilePathFinderCombinatorCombinator
  12. 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
    SingleFilePathFinderCombinatorCombinator
  13. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  14. 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
    SingleFilePathFinderCombinatorCombinator
  15. def getURLs(): Array[URL]

    Evaluates this finder and converts the results to an Array of URLs.

    Evaluates this finder and converts the results to an Array of URLs.

    Definition Classes
    SingleFilePathFinderCombinatorCombinator
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def pair[T](mapper: (File) ⇒ Option[T], errorIfNone: Boolean): Seq[(File, T)]

    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.

    Definition Classes
    SingleFilePathFinderCombinatorCombinator
  18. def toString(): String
    Definition Classes
    Any

Inherited from Combinator

Inherited from AnyVal

Inherited from Any

Ungrouped