public enum FileHeaderInfo extends Enum<FileHeaderInfo>
Modifier and Type | Method and Description |
---|---|
static FileHeaderInfo |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static FileHeaderInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileHeaderInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileHeaderInfo USE
public static final FileHeaderInfo IGNORE
public static final FileHeaderInfo NONE
public static FileHeaderInfo[] values()
for (FileHeaderInfo c : FileHeaderInfo.values()) System.out.println(c);
public static FileHeaderInfo 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 toString()
toString
in class Enum<FileHeaderInfo>
public static FileHeaderInfo fromValue(String value)
value
- real value