public static enum ID3v23FrameBodyCommercial.ReceivedType extends java.lang.Enum<ID3v23FrameBodyCommercial.ReceivedType>
Enum Constant and Description |
---|
BOOK_NOTE_SHEETS
As note sheets in a book with other sheets
|
CD
Standard CD album with other songs
|
COMPRESSED
Compressed audio on CD
|
FILE
File over the Internet
|
NON_MUSICAL
Non-musical merchandise
|
NOTE_SHEETS
As note sheets
|
OTHER
Other
|
OTHER_MEDIA
Music on other media
|
STREAM
Stream over the Internet
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
get a description of the received type.
|
static ID3v23FrameBodyCommercial.ReceivedType |
getReceivedType(byte receivedType)
converts an integral value to its corresponding received type enum.
|
java.lang.String |
toString()
get a string representation of the received type.
|
static ID3v23FrameBodyCommercial.ReceivedType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ID3v23FrameBodyCommercial.ReceivedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ID3v23FrameBodyCommercial.ReceivedType OTHER
public static final ID3v23FrameBodyCommercial.ReceivedType CD
public static final ID3v23FrameBodyCommercial.ReceivedType COMPRESSED
public static final ID3v23FrameBodyCommercial.ReceivedType FILE
public static final ID3v23FrameBodyCommercial.ReceivedType STREAM
public static final ID3v23FrameBodyCommercial.ReceivedType NOTE_SHEETS
public static final ID3v23FrameBodyCommercial.ReceivedType BOOK_NOTE_SHEETS
public static final ID3v23FrameBodyCommercial.ReceivedType OTHER_MEDIA
public static final ID3v23FrameBodyCommercial.ReceivedType NON_MUSICAL
public static ID3v23FrameBodyCommercial.ReceivedType[] values()
for (ID3v23FrameBodyCommercial.ReceivedType c : ID3v23FrameBodyCommercial.ReceivedType.values()) System.out.println(c);
public static ID3v23FrameBodyCommercial.ReceivedType 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 java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Enum<ID3v23FrameBodyCommercial.ReceivedType>
public static ID3v23FrameBodyCommercial.ReceivedType getReceivedType(byte receivedType) throws java.lang.IllegalArgumentException
receivedType
- integral value to be converted to a received type enum.java.lang.IllegalArgumentException
- if the integral value is not a valid received type.