SmbRandomAccessMode

Open mode for SmbRandomAccessFile.

Corresponds to the mode strings used by java.io.RandomAccessFile ("r", "rw", "rws", "rwd").

Entries

Link copied to clipboard

Opens an existing file for reading only. Fails if the file does not exist.

Link copied to clipboard

Opens a file for reading and writing, creating it if it does not already exist.

Link copied to clipboard

Opens a file for reading and writing, writing every update to file content or metadata synchronously to server storage (FILE_WRITE_THROUGH).

Link copied to clipboard

Opens a file for reading and writing, writing every update to file content synchronously to server storage (FILE_WRITE_THROUGH).

Types

Link copied to clipboard
object Companion

Companion properties

Link copied to clipboard
val entries: EnumEntries<SmbRandomAccessMode>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): SmbRandomAccessMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val modeString: String
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val writable: Boolean
Link copied to clipboard
val writeThrough: Boolean