object
Path
extends AnyRef
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
apply
(jfile: JFile): Path
-
def
apply
(path: String): Path
-
def
apply
(segments: Seq[String]): Path
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
extension
(name: String): String
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isExtensionJarOrZip
(name: String): Boolean
-
def
isExtensionJarOrZip
(jfile: JFile): Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
isJarOrZip
(f: Path, examineFile: Boolean = true): Boolean
-
implicit def
jfile2path
(jfile: JFile): Path
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
onlyDirs
(xs: List[Path]): List[Directory]
-
def
onlyDirs
(xs: Iterator[Path]): Iterator[Directory]
-
def
onlyFiles
(xs: List[Path]): List[File]
-
def
onlyFiles
(xs: Iterator[Path]): Iterator[File]
-
def
roots
: List[Path]
-
implicit def
string2path
(s: String): Path
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
An abstraction for filesystem paths. The differences between Path, File, and Directory are primarily to communicate intent. Since the filesystem can change at any time, there is no way to reliably associate Files only with files and so on. Any Path can be converted to a File or Directory (and thus gain access to the additional entity specific methods) by calling toFile or toDirectory, which has no effect on the filesystem.
Also available are createFile and createDirectory, which attempt to create the path in question.
2.8