public enum DownloadFormat extends Enum<DownloadFormat>
Java class for DownloadFormat.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DownloadFormat"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="CSVFOREXCEL"/> <enumeration value="CSV"/> <enumeration value="TSV"/> <enumeration value="XML"/> <enumeration value="GZIPPED_CSV"/> <enumeration value="GZIPPED_XML"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CSV |
CSVFOREXCEL |
GZIPPED_CSV |
GZIPPED_XML |
TSV |
XML |
Modifier and Type | Method and Description |
---|---|
static DownloadFormat |
fromValue(String v) |
String |
value() |
static DownloadFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadFormat CSVFOREXCEL
public static final DownloadFormat CSV
public static final DownloadFormat TSV
public static final DownloadFormat XML
public static final DownloadFormat GZIPPED_CSV
public static final DownloadFormat GZIPPED_XML
public static DownloadFormat[] values()
for (DownloadFormat c : DownloadFormat.values()) System.out.println(c);
public static DownloadFormat 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 value()
public static DownloadFormat fromValue(String v)
Copyright © 2018. All Rights Reserved.