title: Getting an Audiostream to work in Java, Getting Malformed URL Exception
body: <p>So I have this class which does not appear to work for whatever reason, it is giving me a Malformed URL exception but I can't find any reason the URL shouldn't be valid.</p>
  
  <pre><code>public static void nyan()
  {
      String soundfile = "http://api.ning.com/files/3zmSvhA*3jKxFJj1I5uh5dp5oCynyyMksQjwS3JWWQNlriTzDzX61KtlFnuQtx-hEmV7NdqVgofmZvh7cXOX-UVJ47m1SR4a/nyanlooped.mp3";
      URL url = new URL(soundfile);
  
      AudioStream as = new AudioStream (url.openStream());
      AudioData data = as.getData();
      ContinuousAudioDataStream cas = new ContinuousAudioDataStream (data);
      AudioPlayer.player.start(cas);
  }
  </code></pre>
  
  <p>Any help would be appreciated, it's probably something simple, thanks</p>