public enum ParseMode extends Enum<ParseMode>
| Enum Constant and Description |
|---|
DROPMALFORMED |
FAILFAST |
PERMISSIVE |
| Modifier and Type | Method and Description |
|---|---|
static ParseMode |
get(String name) |
String |
getName() |
static ParseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseMode PERMISSIVE
public static final ParseMode DROPMALFORMED
public static final ParseMode FAILFAST
public static ParseMode[] values()
for (ParseMode c : ParseMode.values()) System.out.println(c);
public static ParseMode 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 getName()
Copyright © 2019–2022 The Apache Software Foundation. All rights reserved.