public class TTSHandler extends BaseRouterHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUDIOFORMAT |
java.lang.String |
langcode |
static MXLogger |
logger |
static java.lang.String |
PASSWORD |
static java.lang.String |
URL |
static java.lang.String |
USERNAME |
static java.lang.String |
VOICE_DE |
static java.lang.String |
VOICE_EN |
static java.lang.String |
VOICE_ES |
static java.lang.String |
VOICE_FR |
static java.lang.String |
VOICE_IT |
static java.lang.String |
VOICE_JA |
static java.lang.String |
VOICE_PT |
BIDICONFIG
Constructor and Description |
---|
TTSHandler() |
TTSHandler(MaxEndPointInfo endPointInfo) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAPIPASSWORD() |
java.lang.String |
getAPIUSERNAME() |
java.lang.String |
getAUDIOFORMAT() |
java.util.List<RouterPropsInfo> |
getProperties() |
java.lang.String |
getUrl() |
java.lang.String |
getVOICE() |
byte[] |
invoke(java.util.Map metaData,
byte[] data)
All directly extending classes should call super.invoke(metaData, data) before proceeding
with the invoke.
|
public static final java.lang.String URL
public static final MXLogger logger
public java.lang.String langcode
public static final java.lang.String USERNAME
public static final java.lang.String PASSWORD
public static final java.lang.String AUDIOFORMAT
public static final java.lang.String VOICE_EN
public static final java.lang.String VOICE_DE
public static final java.lang.String VOICE_ES
public static final java.lang.String VOICE_FR
public static final java.lang.String VOICE_IT
public static final java.lang.String VOICE_JA
public static final java.lang.String VOICE_PT
public TTSHandler(MaxEndPointInfo endPointInfo)
endPointInfo
- public TTSHandler()
public byte[] invoke(java.util.Map metaData, byte[] data) throws MXException
BaseRouterHandler
invoke
in interface RouterHandler
invoke
in class BaseRouterHandler
MXException
RouterHandler.invoke(java.util.Map, byte[])
public java.util.List<RouterPropsInfo> getProperties()
public java.lang.String getUrl()
public java.lang.String getAPIUSERNAME()
public java.lang.String getAUDIOFORMAT()
public java.lang.String getVOICE()
public java.lang.String getAPIPASSWORD()