sealed abstract class PathFinder extends PathLister with PathFinderDefaults

A path finder constructs a set of paths. The set is evaluated by a call to the get method. The set will be different for different calls to get if the underlying filesystem has changed.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathFinder
  2. PathFinderDefaults
  3. Combinator
  4. PathLister
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def *(filter: FileFilter): PathFinder

    Alias of glob

    Alias of glob

    Definition Classes
    PathFinderDefaults
  4. final def **(filter: FileFilter): PathFinder

    Alias of globRecursive.

    Alias of globRecursive.

    Definition Classes
    PathFinderDefaults
  5. 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
    PathFinderDefaultsCombinator
  6. 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
    PathFinderDefaultsCombinator
  7. def /(literal: String): 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.

    Definition Classes
    PathFinderDefaults
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def \(literal: String): 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.

    Definition Classes
    PathFinderDefaults
  10. final 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
    PathFinderDefaultsCombinator
  11. def allPaths: PathFinder
    Definition Classes
    PathFinderDefaults
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. 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
    PathFinderDefaultsCombinator
  15. 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
    PathFinderDefaultsCombinator
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. final 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
    PathFinderDefaultsCombinator
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final 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
    PathFinderDefaultsCombinator
  21. def get(): Seq[File]

    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.

    Definition Classes
    PathFinderPathLister
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final 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
    PathFinderDefaultsCombinator
  24. final 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
    PathFinderDefaultsCombinator
  25. def glob(filter: FileFilter): PathFinder

    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 immediate children of paths selected by this finder.

    filter

    only include files that this filter accepts

    Definition Classes
    PathFinderDefaults
  26. def globRecursive(filter: FileFilter, walker: (File, FileFilter, Set[File]) ⇒ Unit): PathFinder

    Constructs a new finder that selects all paths with a name that matches filter and are descendants 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.

    filter

    only include files that this filter accepts

    walker

    use this walker to traverse the file system

    Definition Classes
    PathFinderDefaults
  27. def globRecursive(filter: FileFilter): PathFinder

    Constructs a new finder that selects all paths with a name that matches filter and are descendants 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.

    filter

    only include files that this filter accepts

    Definition Classes
    PathFinderDefaults
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def pair[T](mapper: (File) ⇒ Option[T], errorIfNone: Boolean = true): 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
    PathFinderDefaultsCombinator
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from PathFinderDefaults

Inherited from Combinator

Inherited from PathLister

Inherited from AnyRef

Inherited from Any

Ungrouped