object File extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. File
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Attributes = Seq[FileAttribute[_]]
  2. type CopyOptions = Seq[CopyOption]
  3. type Events = Seq[Kind[_]]
  4. type LinkOptions = Seq[LinkOption]
  5. trait Monitor extends AutoCloseable

    Implement this interface to monitor the root file

  6. type OpenOptions = Seq[OpenOption]
  7. type Order = Ordering[File]
  8. abstract class PathMatcherSyntax extends AnyRef
  9. class RandomAccessMode extends AnyRef
  10. type VisitOptions = Seq[FileVisitOption]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(uri: URI): File
  5. def apply(url: URL): File
  6. def apply(anchor: File, path: String, fragments: String*): File

    Get File to path with help of reference anchor.

    Get File to path with help of reference anchor.

    Anchor is used as a reference in case that path is not absolute. Anchor could be path to directory or path to file. If anchor is file, then file's parent dir is used as an anchor.

    If anchor itself is relative, then anchor is used together with current working directory.

    NOTE: If anchor is non-existing path on filesystem, then it's always treated as file, e.g. it's last component is removed when it is used as an anchor.

    anchor

    path to be used as anchor

    path

    as string

    fragments

    optional path fragments

    returns

    absolute, normalize path

  7. def apply(path: String, fragments: String*): File
  8. implicit def apply(path: Path): File
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def currentWorkingDirectory: File
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def home: File
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def newTemporaryDirectory(prefix: String = "", parent: Option[File] = None)(implicit attributes: Attributes = Attributes.default): File
  21. def newTemporaryFile(prefix: String = "", suffix: String = "", parent: Option[File] = None)(implicit attributes: Attributes = Attributes.default): File
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def numberOfOpenFileDescriptors(): Long
  25. def root: File
  26. def roots: Iterable[File]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def temp: File
  29. def temporaryDirectory(prefix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default): Dispose[File]
  30. def temporaryFile[U](prefix: String = "", suffix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default): Dispose[File]
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def usingTemporaryDirectory[U](prefix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default)(f: (File) => U): Unit
  33. def usingTemporaryFile[U](prefix: String = "", suffix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default)(f: (File) => U): Unit
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. object Attributes
  38. object CopyOptions
  39. object Events
  40. object LinkOptions
  41. object OpenOptions
  42. object Order
  43. object PathMatcherSyntax
  44. object RandomAccessMode
  45. object VisitOptions

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped