better.files.File$
See theFile companion class
object File
Members list
Concise view
Type members
Classlikes
object Attributes
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Attributes.type
object CopyOptions
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CopyOptions.type
object LinkOptions
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- LinkOptions.type
Implement this interface to monitor the root file
Implement this interface to monitor the root file
Attributes
- Graph
- Supertypes
- trait AutoCloseableclass Objecttrait Matchableclass Any
- Known subtypes
- class FileMonitor
object OpenOptions
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- OpenOptions.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
object PathMatcherSyntax
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- PathMatcherSyntax.type
class RandomAccessMode
Attributes
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
object RandomAccessMode
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- RandomAccessMode.type
object VisitOptions
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- VisitOptions.type
Types
Value members
Concrete methods
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.
Attributes
- anchor
path to be used as anchor
- fragments
optional path fragments
- path
as string
- Returns:
absolute, normalize path
def newTemporaryFile(prefix: String, suffix: String, parent: Option[File], attributes: Attributes): File
def temporaryFile[U](prefix: String, suffix: String, parent: Option[File], attributes: Attributes): Dispose[File]
def usingTemporaryDirectory[U](prefix: String, parent: Option[File], attributes: Attributes)(f: File => U): Unit
def usingTemporaryFile[U](prefix: String, suffix: String, parent: Option[File], attributes: Attributes)(f: File => U): Unit