Package com.sun.speech.freetts
Interface PhoneDurations
-
- All Known Implementing Classes:
PhoneDurationsImpl
public interface PhoneDurations
Maintains a set ofPhoneDuration
instances indexed by phone.- See Also:
PhoneDuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhoneDuration
getPhoneDuration(java.lang.String phone)
Gets thePhoneDuration
for the given phone.
-
-
-
Method Detail
-
getPhoneDuration
PhoneDuration getPhoneDuration(java.lang.String phone)
Gets thePhoneDuration
for the given phone. If no duration is applicable, returnsnull
. Note that 'applicable' implementation dependent; some implementations may return a default value.- Parameters:
phone
- the phone to get duration information for- Returns:
- the duration information for the phone
-
-