com.dt.iTunesController
Enum ITSourceKind
java.lang.Object
java.lang.Enum<ITSourceKind>
com.dt.iTunesController.ITSourceKind
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ITSourceKind>
public enum ITSourceKind
- extends java.lang.Enum<ITSourceKind>
Specifies the source kind.
|
Method Summary |
static ITSourceKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ITSourceKind[] |
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 |
ITSourceKindUnknown
public static final ITSourceKind ITSourceKindUnknown
ITSourceKindLibrary
public static final ITSourceKind ITSourceKindLibrary
ITSourceKindIPod
public static final ITSourceKind ITSourceKindIPod
ITSourceKindAudioCD
public static final ITSourceKind ITSourceKindAudioCD
ITSourceKindMP3CD
public static final ITSourceKind ITSourceKindMP3CD
ITSourceKindDevice
public static final ITSourceKind ITSourceKindDevice
ITSourceKindRadioTuner
public static final ITSourceKind ITSourceKindRadioTuner
ITSourceKindSharedLibrary
public static final ITSourceKind ITSourceKindSharedLibrary
values
public static ITSourceKind[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ITSourceKind c : ITSourceKind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ITSourceKind valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null