|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MimeType> com.kii.sdk.photocolle.MimeType
public enum MimeType
The mime type.
Enum Constant Summary | |
---|---|
AVI
mime type for avi |
|
JPEG
mime type for jpeg |
|
MP4
mime type for mp4 |
|
MPEG
mime type for mpeg |
|
PJPEG
mime type for progressive jpeg |
|
QUICKTIME
mime type for quick time |
|
THREE_GP
mime type for 3gp |
|
VND_MTS
mime type for vender spacific |
Method Summary | |
---|---|
static MimeType |
fromString(String label)
Convert from a label to a mime type. |
String |
getExt()
Get a extension. |
String |
getLabel()
Get a label. |
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MimeType JPEG
public static final MimeType PJPEG
public static final MimeType THREE_GP
public static final MimeType AVI
public static final MimeType QUICKTIME
public static final MimeType MP4
public static final MimeType VND_MTS
public static final MimeType MPEG
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getLabel()
public String getExt()
public static MimeType fromString(String label) throws ParameterException
the
- label of mime type.
ParameterException
- if this mime type has no constant with
the specified label.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |