|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.sound.SoundTask.BuildAlert
public class SoundTask.BuildAlert
A class to be extended by any BuildAlert's that require the output of sound.
| Constructor Summary | |
|---|---|
SoundTask.BuildAlert()
|
|
| Method Summary | |
|---|---|
java.lang.Long |
getDuration()
Gets the duration in milliseconds the file should be played. |
int |
getLoops()
Sets the number of times the source file should be played. |
java.io.File |
getSource()
Gets the location of the file to get the audio. |
void |
setDuration(java.lang.Long duration)
Sets the duration in milliseconds the file should be played; optional. |
void |
setLoops(int loops)
Sets the number of times the source file should be played; optional. |
void |
setSource(java.io.File source)
Sets the location of the file to get the audio; required. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoundTask.BuildAlert()
| Method Detail |
|---|
public void setDuration(java.lang.Long duration)
duration - the duration in milliscondspublic void setSource(java.io.File source)
source - the name of a sound-file directory or of the audio filepublic void setLoops(int loops)
loops - the number of loops to play the source filepublic java.io.File getSource()
public int getLoops()
public java.lang.Long getDuration()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||