to top
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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.