Package edu.harvard.hul.ois.jhove
Enum AnalogDigitalFlagType
- java.lang.Object
-
- java.lang.Enum<AnalogDigitalFlagType>
-
- edu.harvard.hul.ois.jhove.AnalogDigitalFlagType
-
- All Implemented Interfaces:
Serializable,Comparable<AnalogDigitalFlagType>
public enum AnalogDigitalFlagType extends Enum<AnalogDigitalFlagType>
This class defines enumerated types for the analog/digital flag of AESAudioMetadata. Applications will not create or modify instances of this class, but will use one of the predefined AnalogDigitalFlagType instances.- Author:
- Gary McGath
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALOGEnumeration instance for analog dataFILE_DIGITALEnumeration instance for FILE digital dataPHYS_DIGITALEnumeration instance for physical digital data
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnalogDigitalFlagTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AnalogDigitalFlagType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANALOG
public static final AnalogDigitalFlagType ANALOG
Enumeration instance for analog data
-
PHYS_DIGITAL
public static final AnalogDigitalFlagType PHYS_DIGITAL
Enumeration instance for physical digital data
-
FILE_DIGITAL
public static final AnalogDigitalFlagType FILE_DIGITAL
Enumeration instance for FILE digital data
-
-
Field Detail
-
value
public final String value
A String value for the type
-
-
Method Detail
-
values
public static AnalogDigitalFlagType[] 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 (AnalogDigitalFlagType c : AnalogDigitalFlagType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalogDigitalFlagType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-