public enum MimeType extends Enum<MimeType>
| Enum Constant and Description |
|---|
APPLICATION
Application
|
AUDIO
Audio
|
IMAGE
Image
|
MESSAGE
Message
|
MULTIPART
Multipart
|
TEXT
Text
|
VIDEO
Video
|
| Modifier and Type | Method and Description |
|---|---|
static MimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MimeType TEXT
public static final MimeType MULTIPART
public static final MimeType APPLICATION
public static final MimeType MESSAGE
public static final MimeType IMAGE
public static final MimeType AUDIO
public static final MimeType VIDEO
public static MimeType[] values()
for (MimeType c : MimeType.values()) System.out.println(c);
public static MimeType 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 nullCopyright © 2018. All rights reserved.