public enum FileFormat extends Enum<FileFormat>
Modifier and Type | Method and Description |
---|---|
static FileFormat |
getFileFormat(String name) |
static String |
getFileFormatName(FileFormat fileformat) |
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 UNKNOWN
public static final FileFormat FLAT
public static final FileFormat CSV
public static final FileFormat XML
public static final FileFormat JSON
public static final FileFormat KEYED
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 nullpublic static String getFileFormatName(FileFormat fileformat)
public static FileFormat getFileFormat(String name)
Copyright © 2019. All rights reserved.