Whole document tree
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 | |
protected |
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 |
protected AudioFormat.Encoding(String name)
name
- the name of the new type of encodingMethod Detail |
public final boolean equals(Object obj)
java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.Boolean.hashCode()
,
Hashtable
public final int hashCode()
java.lang.Object
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".
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.