Serializable, Comparable<OutputType>public enum OutputType extends Enum<OutputType>
| Modifier and Type | Method | Description |
|---|---|---|
static OutputType |
parse(String string) |
|
static OutputType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OutputType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputType Pretty
public static final OutputType Json
public static final OutputType CSV
public static final OutputType XML
public static final OutputType BROWSER
public static OutputType[] values()
for (OutputType c : OutputType.values()) System.out.println(c);
public static OutputType 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 OutputType parse(String string)
Copyright © 2020. All rights reserved.