Packages

case class Path(path: java.nio.file.Path) extends Product with Serializable

Wrapper around java.nio.file.Path that adds useful methods, is Serializable, and fixes some provider/custom-scheme-loading issues (see FileSystems).

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Path
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Path(path: java.nio.file.Path)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(suffix: String): Path

    Append suffix to the basename of this Path.

  4. def /(basename: Symbol): Path
  5. def /(basename: String): Path
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def basename(extension: Boolean = true): String
  9. def basename: String
  10. def basenameNoExtension: String
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def delete(recursive: Boolean = false): Unit
  13. def depth: Int
  14. def endsWith(suffix: String): Boolean
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def exists: Boolean
  17. def extension: String
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def inputStream: InputStream
  21. def isDirectory: Boolean
  22. def isFile: Boolean
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def lines: Iterator[String]
  25. def list: Iterator[Path]
  26. def list(glob: String): Iterator[Path]
  27. def mkdirs: Unit
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def outputStream(mkdirs: Boolean): OutputStream
  32. def outputStream(append: Boolean, mkdirs: Boolean = false): OutputStream
  33. def outputStream: OutputStream
  34. def parent: Path
  35. def parentOpt: Option[Path]
  36. val path: java.nio.file.Path
  37. def printStream(mkdirs: Boolean): PrintStream
  38. def printStream(append: Boolean, mkdirs: Boolean = false): PrintStream
  39. def printStream: PrintStream
  40. def read: String
  41. def readBytes: Array[Byte]
  42. def size: Long
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String

    In general, delegate to URI's toString.

    In general, delegate to URI's toString.

    In case of relative paths, take a short-cut to preserve relative-ness.

    Definition Classes
    Path → AnyRef → Any
  45. def uri: URI
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. def walk: Iterator[Path]
  50. def write(str: String): Unit
  51. def writeLines(lines: Iterable[String]): Unit
  52. def writeReplace: AnyRef

    Delegate serialization to SerializablePath

    Delegate serialization to SerializablePath

    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped