Added in API level 26
AccessMode
public
final
enum
AccessMode
extends Enum<AccessMode>
| java.lang.Object | ||
| ↳ | java.lang.Enum<java.nio.file.AccessMode> | |
| ↳ | java.nio.file.AccessMode | |
Defines access modes used to test the accessibility of a file.
Summary
Enum values | |
|---|---|
AccessMode |
EXECUTE
Test execute access. |
AccessMode |
READ
Test read access. |
AccessMode |
WRITE
Test write access. |
Public methods | |
|---|---|
static
AccessMode
|
valueOf(String name)
|
static
final
AccessMode[]
|
values()
|
Inherited methods | |
|---|---|
Enum values
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-27 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]