Class PlaylistReader2
- Object
-
- com.wowza.wms.manifest.reader.ManifestReaderLogging
-
- com.wowza.wms.manifest.reader.ManifestReader
-
- com.wowza.wms.manifest.reader.m3u8.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 Summary
Constructors Constructor Description PlaylistReader2()
-
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.BufferedReader reader, boolean parseComments)
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
-
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()
-
-