Class PlaylistReader
- Object
-
- com.wowza.wms.manifest.reader.ManifestReaderLogging
-
- com.wowza.wms.manifest.reader.ManifestReader
-
- com.wowza.wms.manifest.reader.m3u8.PlaylistReader
-
public class PlaylistReader extends ManifestReader
Provides implementations that are common to all Playlist readers
-
-
Constructor Summary
Constructors Constructor Description PlaylistReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTagReader(ITagReader reader)
String
getContextStr()
Get the context string associated with the Model to include with the log statementsboolean
getDebugTagReaders()
void
init()
Initialize any internals before usePlaylistModel
parsePlaylist(java.io.BufferedReader reader)
PlaylistModel
parsePlaylist(java.io.InputStream in)
void
setContextStr(String context)
Specific to Playlist reader to set the context in which the playlist is reading.boolean
setDebugTagReaders(boolean enabled)
-
Methods inherited from class com.wowza.wms.manifest.reader.ManifestReaderLogging
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
-
-
-
Method Detail
-
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 classManifestReaderLogging
- 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(java.io.InputStream in)
-
parsePlaylist
public PlaylistModel parsePlaylist(java.io.BufferedReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
addTagReader
public void addTagReader(ITagReader reader)
-
setDebugTagReaders
public boolean setDebugTagReaders(boolean enabled)
-
getDebugTagReaders
public boolean getDebugTagReaders()
-
-