public static class

FileChannel.MapMode

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

Class Overview

MapMode defines file mapping mode constants.

Summary

Constants
FileChannel.MapMode PRIVATE Private mapping mode (equivalent to copy on write).
FileChannel.MapMode READ_ONLY Read-only mapping mode.
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

Constants

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

public String toString ()

Returns a string version of the mapping mode.

Returns
  • this map mode as string.