public enum MP4ArtworkType extends java.lang.Enum<MP4ArtworkType>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static MP4ArtworkType getForValue(int value)
value
- the value stored in a atompublic java.lang.String getExtension()