public class URLStream extends Stream
| Constructor and Description |
|---|
URLStream(SoundManager soundmgr,
URL url,
boolean loop)
Creates a new stream for the specified URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
queueURL(URL url,
boolean loop)
Adds an element to the queue of URLs to play.
|
public URLStream(SoundManager soundmgr, URL url, boolean loop) throws IOException
loop - whether or not to play the file in a continuous loop
if there's nothing on the queueIOExceptionpublic void queueURL(URL url, boolean loop)
loop - if true, play this file in a loop if there's nothing else
on the queueCopyright © 2015. All rights reserved.