public enum SupportedFormat extends Enum<SupportedFormat>
| Enum Constant and Description |
|---|
CSV_FILE |
CSV_STREAM |
JSON |
NETCDF3 |
NETCDF4 |
NETCDF4EXT |
WATERML2 |
WKT |
XML_FILE |
XML_STREAM |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAliases() |
String |
getFileSuffix() |
String |
getFormatName() |
String |
getMimeType() |
boolean |
isAlias(String want) |
boolean |
isBinary() |
boolean |
isStream() |
boolean |
isText() |
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 NETCDF4EXT
public static final SupportedFormat JSON
public static final SupportedFormat WKT
public static final SupportedFormat WATERML2
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 String getMimeType()
public boolean isAlias(String want)
public boolean isStream()
public boolean isBinary()
public boolean isText()
public String getFileSuffix()