Descripción
Sintaxis
public static AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException
public static AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException
public static AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException
public static AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)
public static AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)
Parámetros
- File file,
- URL url,
- InputStream stream,
- AudioFormat targetFormat,
- AudioFormat.Encoding targetEncoding,
- AudioInputStream sourceStream,
Excepciones
UnsupportedAudioFileException, IllegalArgumentException, NullPointerException, IOException
Clase Padre
Ejemplo
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.