Enum AudioFileCodec
- java.lang.Object
-
- java.lang.Enum<AudioFileCodec>
-
- co.ecg.alpaca.toolkit.generated.enums.AudioFileCodec
-
- All Implemented Interfaces:
Serializable,Comparable<AudioFileCodec>
public enum AudioFileCodec extends Enum<AudioFileCodec>
Audio file codec.- Author:
- AlpacaGenerator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudioFileCodecget(String value)static AudioFileCodec[]getArray(String[] values)StringtoString()Stringvalue()static AudioFileCodecvalueOf(String name)Returns the enum constant of this type with the specified name.static AudioFileCodec[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AudioFileCodec NONE
-
G711
public static final AudioFileCodec G711
-
G722
public static final AudioFileCodec G722
-
G729
public static final AudioFileCodec G729
-
G726
public static final AudioFileCodec G726
-
AMR
public static final AudioFileCodec AMR
-
AMRWB
public static final AudioFileCodec AMRWB
-
-
Method Detail
-
values
public static AudioFileCodec[] 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 (AudioFileCodec c : AudioFileCodec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudioFileCodec 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AudioFileCodec>
-
get
public static AudioFileCodec get(String value)
-
getArray
public static AudioFileCodec[] getArray(String[] values)
-
-