public enum DuplicateHeaderMode extends Enum<DuplicateHeaderMode>
CSVFormat.Builder.setHeader(Class)
is not null.Enum Constant and Description |
---|
ALLOW_ALL
Allows all duplicate headers.
|
ALLOW_EMPTY
Allows duplicate headers only if they're empty, blank, or null strings.
|
DISALLOW
Disallows duplicate headers entirely.
|
Modifier and Type | Method and Description |
---|---|
static DuplicateHeaderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DuplicateHeaderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuplicateHeaderMode ALLOW_ALL
public static final DuplicateHeaderMode ALLOW_EMPTY
public static final DuplicateHeaderMode DISALLOW
public static DuplicateHeaderMode[] values()
for (DuplicateHeaderMode c : DuplicateHeaderMode.values()) System.out.println(c);
public static DuplicateHeaderMode 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 © 2005–2022 The Apache Software Foundation. All rights reserved.