Most visited

Recently visited

Added in API level 1

FileChannel.MapMode

public static class FileChannel.MapMode
extends Object

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


文件映射模式的类型安全枚举。

也可以看看:

Summary

Fields

public static final FileChannel.MapMode PRIVATE

私人(写时复制)映射模式。

public static final FileChannel.MapMode READ_ONLY

只读映射的模式。

public static final FileChannel.MapMode READ_WRITE

读/写映射模式。

Public methods

String toString()

返回描述此文件映射模式的字符串。

Inherited methods

From class java.lang.Object

Fields

PRIVATE

Added in API level 1
FileChannel.MapMode PRIVATE

私人(写时复制)映射模式。

READ_ONLY

Added in API level 1
FileChannel.MapMode READ_ONLY

只读映射的模式。

READ_WRITE

Added in API level 1
FileChannel.MapMode READ_WRITE

读/写映射模式。

Public methods

toString

Added in API level 1
String toString ()

返回描述此文件映射模式的字符串。

Returns
String A descriptive string

Hooray!