|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPanelPrincipal.Datos
public class Datos
Permite realizar conversiones de bytes de un archivo wav a double
Constructor Summary | |
---|---|
Datos(int tamano,
boolean formato)
Inicializa las variables necesarias para hacer la conversion. |
Method Summary | |
---|---|
double[] |
convertirByteADouble()
Convierte los bits a double |
void |
llenarByte(byte[] bits)
llena el arreglo de bits con los bits contenidos en el archivo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Datos(int tamano, boolean formato)
tamano
- tamano del arreglo de bitsformato
- indica si es big endian (true) o little endian (false)Method Detail |
---|
public void llenarByte(byte[] bits)
bits
- public double[] convertirByteADouble()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |