|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MP4ArtworkType>
org.stanwood.media.store.mp4.MP4ArtworkType
public enum MP4ArtworkType
The types of artwork that can be stored in a MP4 file
Enum Constant Summary | |
---|---|
MP4_ART_BMP
Windows BMP type |
|
MP4_ART_GIF
Gif type |
|
MP4_ART_JPEG
JPEG type |
|
MP4_ART_PNG
PNG type |
|
MP4_ART_UNDEFINED
Unknown type |
Method Summary | |
---|---|
java.lang.String |
getExtension()
Get the file extension |
static MP4ArtworkType |
getForValue(int value)
Used to get a type from the value stored in a atom |
int |
getIntValue()
Used to get the value of the type as stored in the atom |
static MP4ArtworkType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MP4ArtworkType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 MP4ArtworkType MP4_ART_UNDEFINED
public static final MP4ArtworkType MP4_ART_BMP
public static final MP4ArtworkType MP4_ART_GIF
public static final MP4ArtworkType MP4_ART_JPEG
public static final MP4ArtworkType MP4_ART_PNG
Method Detail |
---|
public static MP4ArtworkType[] values()
for (MP4ArtworkType c : MP4ArtworkType.values()) System.out.println(c);
public static MP4ArtworkType 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static MP4ArtworkType getForValue(int value)
value
- the value stored in a atom
public java.lang.String getExtension()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |