public enum OpenFlag extends Enum<OpenFlag>
| Enum Constant and Description |
|---|
O_APPEND |
O_ASYNC |
O_CREAT |
O_EXCL |
O_EXLOCK |
O_FSYNC |
O_NONBLOCK |
O_RDONLY |
O_RDWR |
O_SHLOCK |
O_TRUNC |
O_WRONLY |
| Modifier and Type | Method and Description |
|---|---|
int |
value()
This method is a getter for the value instance variable.
|
static OpenFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenFlag O_RDONLY
public static final OpenFlag O_WRONLY
public static final OpenFlag O_RDWR
public static final OpenFlag O_NONBLOCK
public static final OpenFlag O_APPEND
public static final OpenFlag O_SHLOCK
public static final OpenFlag O_EXLOCK
public static final OpenFlag O_ASYNC
public static final OpenFlag O_FSYNC
public static final OpenFlag O_CREAT
public static final OpenFlag O_TRUNC
public static final OpenFlag O_EXCL
public static OpenFlag[] values()
for (OpenFlag c : OpenFlag.values()) System.out.println(c);
public static OpenFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int value()
Copyright © 2024. All rights reserved.