public enum SignalEncodingClass extends java.lang.Enum<SignalEncodingClass>
Enum Constant and Description |
---|
APPLICATION_SPECIFIC_DATA
Application-Specific Data
|
DATABASE_INDEX
Database index
|
ENCODED_AUDIO
Encoded audio
|
RAW_BINARY_DATA
Raw Binary Data
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static SignalEncodingClass |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static SignalEncodingClass |
unmarshalEnum(java.nio.ByteBuffer buff) |
static SignalEncodingClass |
unmarshalEnum(java.io.DataInputStream dis) |
static SignalEncodingClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignalEncodingClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalEncodingClass ENCODED_AUDIO
public static final SignalEncodingClass RAW_BINARY_DATA
public static final SignalEncodingClass APPLICATION_SPECIFIC_DATA
public static final SignalEncodingClass DATABASE_INDEX
public static SignalEncodingClass[] values()
for (SignalEncodingClass c : SignalEncodingClass.values()) System.out.println(c);
public static SignalEncodingClass valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static SignalEncodingClass getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static SignalEncodingClass unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static SignalEncodingClass unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()