Android
java.nio.channels
public static class

java.nio.channels.FileChannel.MapMode

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

A type of file mapping modes.

Summary

Constants

      Value  
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 useful for debugging etc.
Methods inherited from class java.lang.Object

Details

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 useful for debugging etc.

Returns

  • the mode string.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48