public enum OpenMode extends Enum<OpenMode>
| Enum Constant and Description |
|---|
Read
Для чтения
|
ReadWrite
Для чтения/записи
|
ReadWriteSync
Для чтения/записи синхронно
|
ReadWriteSyncMeta
Для чтения/записи синхронно с метаданными
|
| Modifier and Type | Method and Description |
|---|---|
static OpenMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenMode Read
public static final OpenMode ReadWrite
public static final OpenMode ReadWriteSync
public static final OpenMode ReadWriteSyncMeta
public static OpenMode[] values()
for (OpenMode c : OpenMode.values()) System.out.println(c);
public static OpenMode 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 nullCopyright © 2017. All rights reserved.