Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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

EXECUTE

added in API level 26
public static final AccessMode EXECUTE

Test execute access.

READ

added in API level 26
public static final AccessMode READ

Test read access.

WRITE

added in API level 26
public static final AccessMode WRITE

Test write access.

Public methods

valueOf

added in API level 26
public static AccessMode valueOf (String name)

Parameters
name String

Returns
AccessMode

values

added in API level 26
public static final AccessMode[] values ()

Returns
AccessMode[]