Package com.sun.speech.freetts
Interface PhoneDurations
-
- All Known Implementing Classes:
PhoneDurationsImpl
public interface PhoneDurationsMaintains a set ofPhoneDurationinstances indexed by phone.- See Also:
PhoneDuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhoneDurationgetPhoneDuration(java.lang.String phone)Gets thePhoneDurationfor the given phone.
-
-
-
Method Detail
-
getPhoneDuration
PhoneDuration getPhoneDuration(java.lang.String phone)
Gets thePhoneDurationfor 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
-
-