public static enum Constants.MimeType extends java.lang.Enum<Constants.MimeType>
| Enum Constant and Description |
|---|
APPLICATION_JSON |
APPLICATION_PDF |
APPLICATION_ZIP |
IMAGE_PNG |
TEXT_CSV |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormatName() |
java.lang.String |
getMimeType() |
static boolean |
isKnownMimeType(java.lang.String value) |
static Constants.MimeType |
toInstance(java.lang.String value) |
java.lang.String |
toString() |
static Constants.MimeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MimeType APPLICATION_JSON
public static final Constants.MimeType APPLICATION_PDF
public static final Constants.MimeType APPLICATION_ZIP
public static final Constants.MimeType IMAGE_PNG
public static final Constants.MimeType TEXT_CSV
public static Constants.MimeType[] values()
for (Constants.MimeType c : Constants.MimeType.values()) System.out.println(c);
public static Constants.MimeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getMimeType()
public java.lang.String getFormatName()
public static boolean isKnownMimeType(java.lang.String value)
public static Constants.MimeType toInstance(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Constants.MimeType>Copyright © 2013–2019 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.