public enum HeaderPresence extends Enum<HeaderPresence>
Enum Constant and Description |
---|
FIRST_LINE |
FIRST_LINE_COMMENTED_INCLUDED |
NONE |
Modifier and Type | Method and Description |
---|---|
static HeaderPresence |
fromLabel(String label) |
String |
getLabel() |
static HeaderPresence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderPresence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderPresence NONE
public static final HeaderPresence FIRST_LINE
public static final HeaderPresence FIRST_LINE_COMMENTED_INCLUDED
protected String label
public static HeaderPresence[] values()
for (HeaderPresence c : HeaderPresence.values()) System.out.println(c);
public static HeaderPresence 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 getLabel()
public static HeaderPresence fromLabel(String label)
Copyright © 2014. All Rights Reserved.