private OggReader reader;
public OggStreamingSoundData(URL url) throws IOException {
this.url = url;
try {
PrivilegedOpenStream action = new PrivilegedOpenStream(url);
reader = new OggReader(AccessController.doPrivileged(action));
} catch (PrivilegedActionException e) {
throw new IOException("Could not open stream at " + url, e);
}
}