public static enum H.MediaType extends Enum<H.MediaType>
| Enum Constant and Description |
|---|
CSS |
CSV |
DOC |
DOCX |
HTML |
JAVASCRIPT |
JSON |
PDF |
TXT |
XLS |
XLSX |
XML |
| Modifier and Type | Method and Description |
|---|---|
H.Format |
format() |
String |
toString() |
static H.MediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static H.MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final H.MediaType CSS
public static final H.MediaType CSV
public static final H.MediaType DOC
public static final H.MediaType DOCX
public static final H.MediaType HTML
public static final H.MediaType JAVASCRIPT
public static final H.MediaType JSON
public static final H.MediaType PDF
public static final H.MediaType TXT
public static final H.MediaType XLS
public static final H.MediaType XLSX
public static final H.MediaType XML
public static H.MediaType[] values()
for (H.MediaType c : H.MediaType.values()) System.out.println(c);
public static H.MediaType 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 H.Format format()
public String toString()
toString in class Enum<H.MediaType>Copyright © 2017–2018 OSGL (Open Source General Library). All rights reserved.