- Enclosing class:
- FileChannel
public static class FileChannel.MapMode
extends Object
A file-mapping mode.
- Since:
- 1.4
- See Also:
-
-
Field Summary
Fields
Mode for a private (copy-on-write) mapping.
Mode for a read-only mapping.
Mode for a read/write mapping.
-
Method Summary
Returns a string describing this file-mapping mode.
-
Field Details
-
READ_ONLY
Mode for a read-only mapping.
-
READ_WRITE
Mode for a read/write mapping.
-
PRIVATE
Mode for a private (copy-on-write) mapping.
-
Method Details
-
toString
Returns a string describing this file-mapping mode.
- Overrides:
toString
in class Object
- Returns:
- A descriptive string