|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--com.speech4j.ant.VoiceMessageTask
VoiceMessageTask produces vocal output to speaker or file.
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
VoiceMessageTask()
|
|
| Method Summary | |
void |
addText(java.lang.String msg)
Set a multiline message. |
void |
execute()
|
void |
setFailOnError(boolean failOnError)
Sets fail on error |
void |
setFile(java.io.File file)
Sets output file |
void |
setMessage(java.lang.String message)
Sets message to speak |
void |
setModeId(java.lang.String modeId)
Sets mode ID |
void |
setModeName(java.lang.String modeName)
Sets mode name. |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VoiceMessageTask()
| Method Detail |
public void setModeId(java.lang.String modeId)
modeId - Mode ID (GUID)public void setModeName(java.lang.String modeName)
modeName - Mode namepublic void setMessage(java.lang.String message)
message - Message to speakpublic void setFile(java.io.File file)
file - Output filepublic void setFailOnError(boolean failOnError)
failOnError - If set to true then exceptions in speaking will fail build.public void addText(java.lang.String msg)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||