scalax.file

PathSet

trait PathSet [+T] extends Iterable[T] with PathFinder[T]

An iterable that permits iterating over a directory tree starting at a root Path. The PathSet is an example of a non-strict collection.

When a method is called the root Path is checked to determine if it is a Directory. If not a NotDirectoryException is thrown.

If an IOException is encountered while iterating a ConcurrentModificationException is thrown with case IOException

Since

1.0

See also

NotDirectoryException

Linear Supertypes
PathFinder[T], Iterable[T], IterableLike[T, Iterable[T]], Equals, GenIterable[T], GenIterableLike[T, Iterable[T]], Traversable[T], GenTraversable[T], GenericTraversableTemplate[T, Iterable], TraversableLike[T, Iterable[T]], GenTraversableLike[T, Iterable[T]], Parallelizable[T, ParIterable[T]], TraversableOnce[T], GenTraversableOnce[T], FilterMonadic[T, Iterable[T]], HasNewBuilder[T, Iterable[T]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. PathSet
  2. PathFinder
  3. Iterable
  4. IterableLike
  5. Equals
  6. GenIterable
  7. GenIterableLike
  8. Traversable
  9. GenTraversable
  10. GenericTraversableTemplate
  11. TraversableLike
  12. GenTraversableLike
  13. Parallelizable
  14. TraversableOnce
  15. GenTraversableOnce
  16. FilterMonadic
  17. HasNewBuilder
  18. AnyRef
  19. Any
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Iterable[T]

    Attributes
    protected
    Definition Classes
    TraversableLike

Abstract Value Members

  1. def * [U >: T, F] (filter: F)(implicit factory: PathMatcherFactory[F]): PathSet[U]

    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.

    Attributes
    abstract
    Definition Classes
    PathSetPathFinder
  2. def ** [U >: T, F] (filter: F)(implicit factory: PathMatcherFactory[F]): PathSet[U]

    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.

    Attributes
    abstract
    Definition Classes
    PathSetPathFinder
  3. def *** [U >: T] : PathSet[U]

    Attributes
    abstract
    Definition Classes
    PathSetPathFinder
  4. def +++ [U >: T] (includes: PathFinder[U]): PathSet[U]

    The union of the paths found by this PathSet with the paths found by 'paths'.

    The union of the paths found by this PathSet with the paths found by 'paths'.

    Attributes
    abstract
    Definition Classes
    PathSetPathFinder
  5. def --- [U >: T] (excludes: PathFinder[U]): PathSet[U]

    Excludes all paths from excludes from the paths selected by this PathSet.

    Excludes all paths from excludes from the paths selected by this PathSet.

    Attributes
    abstract
    Definition Classes
    PathSetPathFinder
  6. def / (literal: String): PathSet[T]

    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.

    Attributes
    abstract
    Definition Classes
    PathSetPathFinder
  7. def iterator : Iterator[T]

    Attributes
    abstract
    Definition Classes
    PathFinder

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def ++ [B >: T, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike
    Annotations
    @bridge()
  5. def ++ [B >: T, That] (that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++: [B >: T, That] (that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike
  7. def ++: [B >: T, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike
  8. def /: [B] (z: B)(op: (B, T) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  9. def /:\ [A1 >: T] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
  10. def :\ [B] (z: B)(op: (T, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  13. def \ (literal: String): PathSet[T]

    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
    PathSetPathFinder
  14. def addString (b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  15. def addString (b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  16. def addString (b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  17. def aggregate [B] (z: B)(seqop: (B, T) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  19. def canEqual (that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  20. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def collect [B, That] (pf: PartialFunction[T, B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  22. def collectFirst [B] (pf: PartialFunction[T, B]): Option[B]

    Definition Classes
    TraversableOnce
  23. def companion : GenericCompanion[Iterable]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  24. def copyToArray [B >: T] (xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  25. def copyToArray [B >: T] (xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  26. def copyToArray [B >: T] (xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def copyToBuffer [B >: T] (dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  28. def count (p: (T) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  29. def drop (n: Int): Iterable[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  30. def dropRight (n: Int): Iterable[T]

    Definition Classes
    IterableLike
  31. def dropWhile (p: (T) ⇒ Boolean): Iterable[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  32. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  33. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  34. def exists (p: (T) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  35. def filter (p: (T) ⇒ Boolean): Iterable[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  36. def filterNot (p: (T) ⇒ Boolean): Iterable[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  37. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def find (p: (T) ⇒ Boolean): Option[T]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  39. def flatMap [B, That] (f: (T) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  40. def flatten [B] (implicit asTraversable: (T) ⇒ TraversableOnce[B]): Traversable[B]

    Definition Classes
    Traversable → GenericTraversableTemplate
    Annotations
    @bridge()
  41. def fold [A1 >: T] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  42. def foldLeft [B] (z: B)(op: (B, T) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  43. def foldRight [B] (z: B)(op: (T, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  44. def forall (p: (T) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  45. def foreach [U] (f: (T) ⇒ U): Unit

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  46. def genericBuilder [B] : Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  47. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  48. def groupBy [K] (f: (T) ⇒ K): Map[K, Iterable[T]]

    Definition Classes
    TraversableLike → GenTraversableLike
  49. def grouped (size: Int): Iterator[Iterable[T]]

    Definition Classes
    IterableLike
  50. def hasDefiniteSize : Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  51. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  52. def head : T

    Definition Classes
    IterableLike → GenIterableLike → TraversableLike → GenTraversableLike
  53. def headOption : Option[T]

    Definition Classes
    TraversableLike
  54. def init : Iterable[T]

    Definition Classes
    TraversableLike
  55. def inits : Iterator[Iterable[T]]

    Definition Classes
    TraversableLike
  56. def isEmpty : Boolean

    Definition Classes
    IterableLike → GenIterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  57. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  58. def isTraversableAgain : Boolean

    Attributes
    final
    Definition Classes
    GenTraversableLike → GenTraversableOnce
  59. def last : T

    Definition Classes
    TraversableLike
  60. def lastOption : Option[T]

    Definition Classes
    TraversableLike
  61. def map [B, That] (f: (T) ⇒ B)(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  62. def max [B >: T] (implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. def maxBy [B] (f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  64. def min [B >: T] (implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  65. def minBy [B] (f: (T) ⇒ B)(implicit cmp: Ordering[B]): T

    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def mkString : String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def mkString (sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def mkString (start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  70. def newBuilder : Builder[T, Iterable[T]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  71. def nonEmpty : Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  73. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  74. def par : ParIterable[T]

    Definition Classes
    Parallelizable
  75. def parCombiner : Combiner[T, ParIterable[T]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  76. def partition (p: (T) ⇒ Boolean): (Iterable[T], Iterable[T])

    Definition Classes
    TraversableLike → GenTraversableLike
  77. def product [B >: T] (implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduce [A1 >: T] (op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def reduceLeft [B >: T] (op: (B, T) ⇒ B): B

    Definition Classes
    TraversableOnce
  80. def reduceLeftOption [B >: T] (op: (B, T) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def reduceOption [A1 >: T] (op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def reduceRight [B >: T] (op: (T, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  83. def reduceRightOption [B >: T] (op: (T, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def repr : Iterable[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  85. def reversed : List[T]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  86. def sameElements [B >: T] (that: Iterable[B]): Boolean

    Definition Classes
    IterableLike
    Annotations
    @bridge()
  87. def sameElements [B >: T] (that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  88. def scan [B >: T, That] (z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  89. def scanLeft [B, That] (z: B)(op: (B, T) ⇒ B)(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  90. def scanRight [B, That] (z: B)(op: (T, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[T], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

  91. def seq : Iterable[T]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  92. def size : Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def slice (from: Int, until: Int): Iterable[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  94. def sliding [B >: T] (size: Int, step: Int): Iterator[Iterable[T]]

    Definition Classes
    IterableLike
  95. def sliding [B >: T] (size: Int): Iterator[Iterable[T]]

    Definition Classes
    IterableLike
  96. def span (p: (T) ⇒ Boolean): (Iterable[T], Iterable[T])

    Definition Classes
    TraversableLike → GenTraversableLike
  97. def splitAt (n: Int): (Iterable[T], Iterable[T])

    Definition Classes
    TraversableLike → GenTraversableLike
  98. def stringPrefix : String

    Definition Classes
    TraversableLike → GenTraversableLike
  99. def sum [B >: T] (implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  101. def tail : Iterable[T]

    Definition Classes
    TraversableLike → GenTraversableLike
  102. def tails : Iterator[Iterable[T]]

    Definition Classes
    TraversableLike
  103. def take (n: Int): Iterable[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  104. def takeRight (n: Int): Iterable[T]

    Definition Classes
    IterableLike
  105. def takeWhile (p: (T) ⇒ Boolean): Iterable[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  106. def thisCollection : Iterable[T]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  107. def toArray [B >: T] (implicit arg0: ClassManifest[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def toBuffer [B >: T] : Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def toCollection (repr: Iterable[T]): Iterable[T]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  110. def toIndexedSeq [B >: T] : IndexedSeq[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def toIterable : Iterable[T]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  112. def toIterator : Iterator[T]

    Definition Classes
    TraversableLike → GenTraversableOnce
  113. def toList : List[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def toMap [T, U] (implicit ev: <:<[T, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def toSeq : Seq[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def toSet [B >: T] : Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def toStream : Stream[T]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  118. def toString (): String

    Definition Classes
    TraversableLike → AnyRef → Any
  119. def toTraversable : Traversable[T]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  120. def transpose [B] (implicit asTraversable: (T) ⇒ TraversableOnce[B]): Traversable[Traversable[B]]

    Definition Classes
    Traversable → GenericTraversableTemplate
    Annotations
    @bridge()
  121. def unzip [A1, A2] (implicit asPair: (T) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  122. def unzip3 [A1, A2, A3] (implicit asTriple: (T) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  123. def view (from: Int, until: Int): IterableView[T, Iterable[T]]

    Definition Classes
    IterableLike → TraversableLike
  124. def view : IterableView[T, Iterable[T]]

    Definition Classes
    IterableLike → TraversableLike
  125. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  128. def withFilter (p: (T) ⇒ Boolean): FilterMonadic[T, Iterable[T]]

    Definition Classes
    TraversableLike → FilterMonadic
  129. def zip [A1 >: T, B, That] (that: Iterable[B])(implicit bf: CanBuildFrom[Iterable[T], (A1, B), That]): That

    Definition Classes
    IterableLike
    Annotations
    @bridge()
  130. def zip [A1 >: T, B, That] (that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[T], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  131. def zipAll [B, A1 >: T, That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[T], (A1, B), That]): That

    Definition Classes
    IterableLike
    Annotations
    @bridge()
  132. def zipAll [B, A1 >: T, That] (that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[T], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  133. def zipWithIndex [A1 >: T, That] (implicit bf: CanBuildFrom[Iterable[T], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def elements : Iterator[T]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use iterator' instead

  2. def first : T

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use head' instead

  3. def firstOption : Option[T]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use headOption' instead

  4. def projection : IterableView[T, Iterable[T]]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use view' instead

Inherited from PathFinder[T]

Inherited from Iterable[T]

Inherited from IterableLike[T, Iterable[T]]

Inherited from Equals

Inherited from GenIterable[T]

Inherited from GenIterableLike[T, Iterable[T]]

Inherited from Traversable[T]

Inherited from GenTraversable[T]

Inherited from GenericTraversableTemplate[T, Iterable]

Inherited from TraversableLike[T, Iterable[T]]

Inherited from GenTraversableLike[T, Iterable[T]]

Inherited from Parallelizable[T, ParIterable[T]]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from FilterMonadic[T, Iterable[T]]

Inherited from HasNewBuilder[T, Iterable[T]]

Inherited from AnyRef

Inherited from Any