public class AudioPlayer.Execute extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private AudioPlayer.Command |
command |
private java.lang.Exception |
exception |
private double |
offset |
private AudioPlayer.Result |
result |
private double |
speed |
private java.net.URL |
url |
| Constructor and Description |
|---|
Execute() |
| Modifier and Type | Method and Description |
|---|---|
AudioPlayer.Command |
command()
Returns the command.
|
protected void |
failed(java.lang.Exception e) |
double |
offset()
Returns the offset.
|
protected void |
ok(AudioPlayer.State newState) |
protected void |
pause() |
protected void |
play(java.net.URL url,
double offset,
double speed) |
protected void |
possiblyInterrupt() |
private void |
send() |
double |
speed()
Returns the speed.
|
java.net.URL |
url()
Returns the URL.
|
private AudioPlayer.Command command
private AudioPlayer.Result result
private java.lang.Exception exception
private java.net.URL url
private double offset
private double speed
public Execute()
protected void play(java.net.URL url, double offset, double speed) throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionprotected void pause() throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionprivate void send() throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedExceptionjava.io.IOExceptionprotected void possiblyInterrupt() throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected void failed(java.lang.Exception e)
protected void ok(AudioPlayer.State newState)
public double offset()
public double speed()
public java.net.URL url()
public AudioPlayer.Command command()