public enum FileFormat extends Enum<FileFormat>
Enum Constant and Description |
---|
KVN
Key-Value Notation format.
|
XML
XML format.
|
Modifier and Type | Method and Description |
---|---|
static FileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileFormat KVN
public static final FileFormat XML
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat 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 © 2002-2022 CS GROUP. All rights reserved.