public static enum SbFileHelper.FileAccess extends java.lang.Enum<SbFileHelper.FileAccess> implements IntegerValuedEnum
Enum Constant and Description |
---|
EXECUTE
Check file for Execution access.
|
EXISTENCE
Check file for existence only.
|
READ
Check file for Read access only.
|
READ_WRITE
Check file for Read and Write access.
|
WRITE
Check file for Write access only.
|
Modifier and Type | Method and Description |
---|---|
static SbFileHelper.FileAccess |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SbFileHelper.FileAccess |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SbFileHelper.FileAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SbFileHelper.FileAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SbFileHelper.FileAccess EXISTENCE
public static final SbFileHelper.FileAccess WRITE
public static final SbFileHelper.FileAccess READ
public static final SbFileHelper.FileAccess READ_WRITE
public static final SbFileHelper.FileAccess EXECUTE
public static SbFileHelper.FileAccess[] values()
for (SbFileHelper.FileAccess c : SbFileHelper.FileAccess.values()) System.out.println(c);
public static SbFileHelper.FileAccess valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static SbFileHelper.FileAccess fromValue(int val)
valueOf(int)
instead.public static SbFileHelper.FileAccess valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com