public enum DataSource extends Enum<DataSource>
| Enum Constant and Description | 
|---|
| BarcodeBarcode | 
| NoneNo data source. | 
| Track1Track 1. | 
| Track2Track 2. | 
| Track3Track 3. | 
| Modifier and Type | Method and Description | 
|---|---|
| static DataSource | fromString(String text)Returns the DataSource enumeration for the specified text or null if no enumeration matches the specified text. | 
| String | getText()Returns the string representation of the DataSource enumeration member. | 
| int | getValue()Returns the integer representation of the DataSource enumeration member. | 
| static DataSource | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DataSource[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final DataSource None
public static final DataSource Track1
public static final DataSource Track2
public static final DataSource Track3
public static final DataSource Barcode
public static DataSource[] values()
for (DataSource c : DataSource.values()) System.out.println(c);
public static DataSource valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public String getText()
public static DataSource fromString(String text)
text - text representation of the specified enumeration member.
				© 2016 ZIH Corp. All Rights Reserved.