object
Path extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
apply(jfile: JFile): Path
-
def
apply(path: String): Path
-
def
apply(segments: Seq[String]): Path
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
extension(name: String): String
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
isExtensionJarOrZip(name: String): Boolean
-
def
isExtensionJarOrZip(jfile: JFile): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isJarOrZip(f: Path, examineFile: Boolean = true): Boolean
-
implicit
def
jfile2path(jfile: JFile): Path
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
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