Class ManifestWriter

  • All Implemented Interfaces:
    Cloneable
    Direct Known Subclasses:
    MediaPlaylistWriter, PlaylistWriter

    public abstract class ManifestWriter
    extends ManifestModelLogging
    Abstract Manifest Writer Model base class Provides implementations that are common to all Manfiest / Playlist writer models
    • Field Detail

      • tagWriter

        protected final TagWriter tagWriter
      • validatePlaylists

        protected boolean validatePlaylists
      • contextStr

        protected String contextStr
    • Constructor Detail

      • ManifestWriter

        public ManifestWriter​(java.io.OutputStream outputStream,
                              String contextStr)
                       throws IllegalArgumentException
        Throws:
        IllegalArgumentException
    • Method Detail

      • isValidatePlaylists

        public boolean isValidatePlaylists()
      • setValidatePlaylists

        public void setValidatePlaylists​(boolean validatePlaylists)
      • write

        public abstract boolean write​(ManifestModel manifest)
                               throws java.io.IOException
        Parameters:
        manifest - Manifest model to write to the outputStream
        Returns:
        true if write did not encounter errors
        Throws:
        java.io.IOException