public enum SupportedFormat extends Enum<SupportedFormat>
| Enum Constant and Description |
|---|
CSV_FILE |
CSV_STREAM |
JSON |
NETCDF3 |
NETCDF4 |
WKT |
XML_FILE |
XML_STREAM |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAliases() |
String |
getFormatName() |
String |
getResponseContentType() |
boolean |
isAlias(String want) |
boolean |
isStream() |
static SupportedFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SupportedFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SupportedFormat CSV_STREAM
public static final SupportedFormat CSV_FILE
public static final SupportedFormat XML_STREAM
public static final SupportedFormat XML_FILE
public static final SupportedFormat NETCDF3
public static final SupportedFormat NETCDF4
public static final SupportedFormat JSON
public static final SupportedFormat WKT
public static SupportedFormat[] values()
for (SupportedFormat c : SupportedFormat.values()) System.out.println(c);
public static SupportedFormat 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 getFormatName()
public boolean isAlias(String want)
public String getResponseContentType()
public boolean isStream()
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.