Types

Link copied to clipboard

When opening a File, create it with the supplied mode if it does not already exist.

Link copied to clipboard

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.

Link copied to clipboard
data object MustExist : OpenExcl

When opening a File, it MUST exist. A new file will NOT be created. If the file being opened does not exist, a FileNotFoundException will be thrown.

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.