Class/Object

org.argus.jawa.compiler.compile.io

PathFinder

Related Docs: object PathFinder | package io

Permalink

sealed abstract class PathFinder extends AnyRef

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathFinder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(filter: FileFilter): PathFinder

    Permalink

    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.

  4. def **(filter: FileFilter): PathFinder

    Permalink

    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.

  5. def ***: PathFinder

    Permalink
  6. def +++(paths: PathFinder): PathFinder

    Permalink

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

  7. def ---(excludePaths: PathFinder): PathFinder

    Permalink

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

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

  8. def /(literal: String): PathFinder

    Permalink

    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.

  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def \(literal: String): PathFinder

    Permalink

    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.

  11. final def absString: String

    Permalink

    Constructs a string by evaluating this finder, converting the resulting Paths to absolute path strings, and joining them with the platform path separator.

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def descendantsExcept(include: FileFilter, intermediateExclude: FileFilter): PathFinder

    Permalink

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

  15. def distinct: PathFinder

    Permalink

    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.

  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def filter(f: (File) ⇒ Boolean): PathFinder

    Permalink

    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.

  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def flatMap(f: (File) ⇒ PathFinder): PathFinder

    Permalink
  21. final def get: Seq[File]

    Permalink

    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.

  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def getPaths: Seq[String]

    Permalink

    Evaluates this finder and converts the results to a distinct sequence of absolute path strings.

  24. final def getURLs: Array[URL]

    Permalink

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

  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def pair[T](mapper: (File) ⇒ Option[T], errorIfNone: Boolean = true): Seq[(File, T)]

    Permalink

    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.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink

    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.

    Definition Classes
    PathFinder → AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def x[T](mapper: (File) ⇒ Option[T], errorIfNone: Boolean = true): Seq[(File, T)]

    Permalink

    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.

  37. def x_![T](mapper: (File) ⇒ Option[T]): Traversable[(File, T)]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped