Class FreeTTSSynthesizerQueueItem

    • Constructor Detail

      • FreeTTSSynthesizerQueueItem

        public FreeTTSSynthesizerQueueItem()
        Construct a queue item.
    • Method Detail

      • isStream

        public boolean isStream()
        Returns true if the item is an input stream
        Specified by:
        isStream in interface FreeTTSSpeakable
        Returns:
        true if the item is an input stream; otherwise, returns false
      • getInputStream

        public java.io.InputStream getInputStream()
        Gets the input stream
        Specified by:
        getInputStream in interface FreeTTSSpeakable
        Returns:
        the input stream
      • isDocument

        public boolean isDocument()
        Returns true if the item is a JSML document (Java Speech Markup Language text).
        Specified by:
        isDocument in interface FreeTTSSpeakable
        Returns:
        true if the item is a document; otherwise, returns false