mobi.voiceassistant.base.content
Class SpeechTextUtils

java.lang.Object
  extended by mobi.voiceassistant.base.content.SpeechTextUtils

public final class SpeechTextUtils
extends Object


Method Summary
static CharSequence parseSpeech(CharSequence textWithSpeech)
           
static CharSequence parseSpeech(Spanned textWithSpeech)
           
static String randomSpeech(Resources res, int id, Object... formatArgs)
           
static CharSequence textWithoutSpeech(CharSequence text)
           
static CharSequence textWithoutSpeech(Context res, int textId)
           
static CharSequence textWithSpeech(CharSequence text, CharSequence speech)
           
static CharSequence textWithSpeech(CharSequence text, int start, int end, CharSequence speech)
           
static CharSequence textWithSpeech(Context res, int textId, int speechId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

textWithoutSpeech

public static CharSequence textWithoutSpeech(Context res,
                                             int textId)

textWithoutSpeech

public static CharSequence textWithoutSpeech(CharSequence text)

textWithSpeech

public static CharSequence textWithSpeech(Context res,
                                          int textId,
                                          int speechId)

textWithSpeech

public static CharSequence textWithSpeech(CharSequence text,
                                          CharSequence speech)

textWithSpeech

public static CharSequence textWithSpeech(CharSequence text,
                                          int start,
                                          int end,
                                          CharSequence speech)

parseSpeech

public static CharSequence parseSpeech(CharSequence textWithSpeech)

parseSpeech

public static CharSequence parseSpeech(Spanned textWithSpeech)

randomSpeech

public static String randomSpeech(Resources res,
                                  int id,
                                  Object... formatArgs)