public enum FileMode extends Enum<FileMode>
| Enum Constant and Description |
|---|
CREATE_IF_NOT_EXISTS |
CREATE_OR_OVERWRITE |
| Modifier and Type | Method and Description |
|---|---|
static FileMode |
getByName(String name) |
String |
getName() |
static FileMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileMode CREATE_OR_OVERWRITE
public static final FileMode CREATE_IF_NOT_EXISTS
public static FileMode[] values()
for (FileMode c : FileMode.values()) System.out.println(c);
public static FileMode 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 String getName()
Copyright © 2022 Unidal Organization. All rights reserved.