org.mobicents.media.server.impl.resource.mediaplayer.audio.tts
Class VoiceFactory

java.lang.Object
  extended by com.sun.speech.freetts.VoiceDirectory
      extended by org.mobicents.media.server.impl.resource.mediaplayer.audio.tts.VoiceFactory
Direct Known Subclasses:
AlanVoiceFactory, KevinVoiceFactory, MbrolaVoiceFactory

public abstract class VoiceFactory
extends com.sun.speech.freetts.VoiceDirectory

Factory to get new instance of Voice that this Factory supports

Author:
amit bhayani

Constructor Summary
VoiceFactory()
           
 
Method Summary
abstract  com.sun.speech.freetts.Voice getVoice(java.lang.String voiceName)
           
 
Methods inherited from class com.sun.speech.freetts.VoiceDirectory
getVoices, main, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VoiceFactory

public VoiceFactory()
Method Detail

getVoice

public abstract com.sun.speech.freetts.Voice getVoice(java.lang.String voiceName)
Parameters:
voiceName - The Voice corresponding to this name will be created and returned if VoiceFactory supports this name, null other wise.
Returns:


Copyright © 2010. All Rights Reserved.