public static AudioInputStream getAudioInputStream (URL url) throws UnsupportedAudioFileException, IOException

Obtains an audio input stream from the URL provided. The URL must point to valid audio file data.

Parameters:
url    the URL for which the AudioInputStream should be constructed

Returns:  an AudioInputStream object based on the audio file data pointed to by the URL

Exceptions:
UnsupportedAudioFileException    if the URL does not point to valid audio file data recognized by the system
IOException    if an I/O exception occurs