Class PlaylistReader2


  • public class PlaylistReader2
    extends ManifestReader
    Re-created this class so we can parse comments Everything is the same/copied except: public PlaylistModel parsePlaylist(BufferedReader reader) throws IOException public PlaylistModel parsePlaylist(BufferedReader reader, boolean paraseComments) throws IOException
    • Constructor Detail

      • PlaylistReader2

        public PlaylistReader2()
    • Method Detail

      • init

        public void init()
        Initialize any internals before use
      • setContextStr

        public void setContextStr​(String context)
        Specific to Playlist reader to set the context in which the playlist is reading. Intent would be this would be the Source stream name to associate the log entries with
        Parameters:
        context - of the reader
      • parsePlaylist

        public PlaylistModel parsePlaylist​(java.io.InputStream in)
      • parsePlaylist

        public PlaylistModel parsePlaylist​(java.io.BufferedReader reader)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parsePlaylist

        public PlaylistModel parsePlaylist​(java.io.BufferedReader reader,
                                           boolean parseComments)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • addTagReader

        public void addTagReader​(ITagReader reader)
      • setDebugTagReaders

        public boolean setDebugTagReaders​(boolean enabled)
      • getDebugTagReaders

        public boolean getDebugTagReaders()