object File extends Serializable

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

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped