object File extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- File
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Attributes = Seq[FileAttribute[_]]
- type CopyOptions = Seq[CopyOption]
- type Events = Seq[Kind[_]]
- type LinkOptions = Seq[LinkOption]
- trait Monitor extends AutoCloseable
Implement this interface to monitor the root file
- type OpenOptions = Seq[OpenOption]
- type Order = Ordering[File]
- abstract class PathMatcherSyntax extends AnyRef
- class RandomAccessMode extends AnyRef
- type VisitOptions = Seq[FileVisitOption]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(uri: URI): File
- def apply(url: URL): File
- 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
- def apply(path: String, fragments: String*): File
- implicit def apply(path: Path): File
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def currentWorkingDirectory: File
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def home: File
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newTemporaryDirectory(prefix: String = "", parent: Option[File] = None)(implicit attributes: Attributes = Attributes.default): File
- def newTemporaryFile(prefix: String = "", suffix: String = "", parent: Option[File] = None)(implicit attributes: Attributes = Attributes.default): File
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def numberOfOpenFileDescriptors(): Long
- def root: File
- def roots: Iterable[File]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def temp: File
- def temporaryDirectory(prefix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default): Dispose[File]
- def temporaryFile[U](prefix: String = "", suffix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default): Dispose[File]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def usingTemporaryDirectory[U](prefix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default)(f: (File) => U): Unit
- def usingTemporaryFile[U](prefix: String = "", suffix: String = "", parent: Option[File] = None, attributes: Attributes = Attributes.default)(f: (File) => U): Unit
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object Attributes
- object CopyOptions
- object Events
- object LinkOptions
- object OpenOptions
- object Order
- object PathMatcherSyntax
- object RandomAccessMode
- object VisitOptions