Added in API level 1
MapMode
open class MapMode
| kotlin.Any | |
| ↳ | java.nio.channels.FileChannel.MapMode |
A typesafe enumeration for file-mapping modes.
Summary
| Public methods | |
|---|---|
| open String |
toString()Returns a string describing this file-mapping mode. |
| Properties | |
|---|---|
| static FileChannel.MapMode! |
Mode for a private (copy-on-write) mapping. |
| static FileChannel.MapMode! |
Mode for a read-only mapping. |
| static FileChannel.MapMode! |
Mode for a read/write mapping. |
Public methods
toString
Added in API level 1
open fun toString(): String
Returns a string describing this file-mapping mode.
| Return | |
|---|---|
String |
A descriptive string |
Properties
PRIVATE
Added in API level 1
static val PRIVATE: FileChannel.MapMode!
Mode for a private (copy-on-write) mapping.
READ_ONLY
Added in API level 1
static val READ_ONLY: FileChannel.MapMode!
Mode for a read-only mapping.
READ_WRITE
Added in API level 1
static val READ_WRITE: FileChannel.MapMode!
Mode for a read/write mapping.