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

Since: API Level 1

Private mapping mode (equivalent to copy on write).

public static final FileChannel.MapMode READ_ONLY

Since: API Level 1

Read-only mapping mode.

public static final FileChannel.MapMode READ_WRITE

Since: API Level 1

Read-write mapping mode.

Public Methods

public String toString ()

Since: API Level 1

Returns a string version of the mapping mode.

Returns
  • this map mode as string.