Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static class

FileChannel.MapMode

extends Object
java.lang.Object
   ↳ java.nio.channels.FileChannel.MapMode

Class Overview

MapMode defines file mapping mode constants.

Summary

Fields
public static final FileChannel.MapMode PRIVATE Private mapping mode (equivalent to copy on write).
public static final FileChannel.MapMode READ_ONLY Read-only mapping mode.
public static final FileChannel.MapMode READ_WRITE Read-write mapping mode.
Public Methods
String toString ()
Returns a string version of the mapping mode.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final FileChannel.MapMode PRIVATE

Added in API level 1

Private mapping mode (equivalent to copy on write).

public static final FileChannel.MapMode READ_ONLY

Added in API level 1

Read-only mapping mode.

public static final FileChannel.MapMode READ_WRITE

Added in API level 1

Read-write mapping mode.

Public Methods

public String toString ()

Added in API level 1

Returns a string version of the mapping mode.

Returns
  • this map mode as string.