com.dt.iTunesController
Enum ITSourceKind

java.lang.Object
  extended by java.lang.Enum<ITSourceKind>
      extended by 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.


Enum Constant Summary
ITSourceKindAudioCD
           
ITSourceKindDevice
           
ITSourceKindIPod
           
ITSourceKindLibrary
           
ITSourceKindMP3CD
           
ITSourceKindRadioTuner
           
ITSourceKindSharedLibrary
           
ITSourceKindUnknown
           
 
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
 

Enum Constant Detail

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
Method Detail

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