Class AbstractAudioContainer<T>

  • Type Parameters:
    T - the type of audio to handle
    All Implemented Interfaces:
    adams.core.CloneHandler<adams.data.container.AbstractSimpleContainer<T>>, adams.core.UniqueIDHandler, adams.data.MutableNotesHandler, adams.data.NotesHandler, adams.data.report.MutableReportHandler<adams.data.report.Report>, adams.data.report.ReportHandler<adams.data.report.Report>, Serializable
    Direct Known Subclasses:
    WaveContainer

    public abstract class AbstractAudioContainer<T>
    extends adams.data.container.AbstractSimpleContainer<T>
    Ancestor for various audio format containers.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String FILE
      the key in the report for the file (full path).
      static String URL
      the key in the report for the URL.
      • Fields inherited from class adams.data.container.AbstractSimpleContainer

        FIELD_FILENAME, m_Content, m_Notes, m_Report, m_UUID
    • Constructor Detail

      • AbstractAudioContainer

        public AbstractAudioContainer()
    • Method Detail

      • setAudio

        public void setAudio​(T value)
        Sets the audio to use.
        Parameters:
        value - the audio
      • getAudio

        public T getAudio()
        Returns the stored audio.
        Returns:
        the audio