|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.sound.sampled
|
Field Summary | |
---|---|
static AudioFormat.Encoding |
ALAW
Specifies a-law encoded data. |
static AudioFormat.Encoding |
PCM_SIGNED
Specifies signed, linear PCM data. |
static AudioFormat.Encoding |
PCM_UNSIGNED
Specifies unsigned, linear PCM data. |
static AudioFormat.Encoding |
ULAW
Specifies u-law encoded data. |
Constructor Summary | |
---|---|
AudioFormat.Encoding(String name)
Constructs a new encoding. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Finalizes the equals method |
int |
hashCode()
Finalizes the hashCode method |
String |
toString()
Provides the String representation of the encoding. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AudioFormat.Encoding PCM_SIGNED
public static final AudioFormat.Encoding PCM_UNSIGNED
public static final AudioFormat.Encoding ULAW
public static final AudioFormat.Encoding ALAW
Constructor Detail |
---|
public AudioFormat.Encoding(String name)
name
- the name of the new type of encodingMethod Detail |
---|
public final boolean equals(Object obj)
obj
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.hashCode()
,
Hashtable
public final int hashCode()
Object.equals(java.lang.Object)
,
Hashtable
public final String toString()
String
representation of the encoding. This String
is
the same name that was passed to the constructor. For the predefined encodings, the name
is similar to the encoding's variable (field) name. For example, PCM_SIGNED.toString()
returns
the name "pcm_signed".