Class PlaylistReader


public class PlaylistReader extends ManifestReader
Provides implementations that are common to all Playlist readers
  • Constructor Details

    • PlaylistReader

      public PlaylistReader()
  • Method Details

    • init

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

      public String getContextStr()
      Description copied from class: ManifestReaderLogging
      Get the context string associated with the Model to include with the log statements
      Specified by:
      getContextStr in class ManifestReaderLogging
      Returns:
      String
    • 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(InputStream in)
    • parsePlaylist

      public PlaylistModel parsePlaylist(BufferedReader reader) throws IOException
      Throws:
      IOException
    • addTagReader

      public void addTagReader(ITagReader reader)
    • setDebugTagReaders

      public boolean setDebugTagReaders(boolean enabled)
    • getDebugTagReaders

      public boolean getDebugTagReaders()