throw new UnsupportedAudioFileException("input stream type not recognized"); }
throw new IllegalArgumentException("encoding not supported for stream"); }
  public static AudioInputStream getAudioInputStream(InputStream is)    throws UnsupportedAudioFileException, IOException  {    Iterator i = ServiceFactory.lookupProviders(AudioFileReader.class);    while (i.hasNext())      {        AudioFileReader reader = (AudioFileReader) i.next();        try          {            return reader.getAudioInputStream(is);          }        catch (UnsupportedAudioFileException _)          {            // Try the next provider.          }      }    throw new UnsupportedAudioFileException("input stream type not recognized");  }