public static enum ContentType.StandardType extends Enum<ContentType.StandardType>
Enum Constant and Description |
---|
application |
audio |
image |
message |
multipart |
text |
video |
Modifier and Type | Method and Description |
---|---|
static ContentType.StandardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentType.StandardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentType.StandardType application
public static final ContentType.StandardType audio
public static final ContentType.StandardType image
public static final ContentType.StandardType message
public static final ContentType.StandardType multipart
public static final ContentType.StandardType text
public static final ContentType.StandardType video
public static ContentType.StandardType[] values()
for (ContentType.StandardType c : ContentType.StandardType.values()) System.out.println(c);
public static ContentType.StandardType 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 © 2012. All Rights Reserved.