MustCreate

When opening a File, it MUST NOT exist. A new file will be created with the supplied mode. If the file being opened already exists, a FileAlreadyExistsException will be thrown.

See also

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@JvmField
val mode: String

The mode to use for newly created files. If a file is NOT created upon open (e.g. it already exists), then this will be ignored.