Package Summary  Overview Summary

class:FileChannel.MapMode [NONE]

Enclosing class:
FileChannel

public static class FileChannel.MapModeextends Object
A file-mapping mode.
Since:
1.4
See Also:

field:READ_ONLY [NONE]

  • READ_ONLY

    public static final  FileChannel.MapMode READ_ONLY
    Mode for a read-only mapping.
  • field:READ_WRITE [NONE]

    READ_WRITE

    public static final  FileChannel.MapMode READ_WRITE
    Mode for a read/write mapping.

    field:PRIVATE [NONE]

    PRIVATE

    public static final  FileChannel.MapMode PRIVATE
    Mode for a private (copy-on-write) mapping.

    method:toString() [NONE]

    • toString

      public String toString()
      Returns a string describing this file-mapping mode.
      Overrides:
      toString in class Object
      Returns:
      A descriptive string

    © 2023 Oracle Corporation and/or its affiliates