Package com.sun.speech.freetts
Interface PhoneDurations
- All Known Implementing Classes:
PhoneDurationsImpl
public interface PhoneDurations
Maintains a set of
PhoneDuration
instances indexed by
phone.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetPhoneDuration
(String phone) Gets thePhoneDuration
for the given phone.
-
Method Details
-
getPhoneDuration
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
-