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 SummaryConstructors Constructor Description PlaylistReader2()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTagReader(ITagReader reader)StringgetContextStr()Get the context string associated with the Model to include with the log statementsbooleangetDebugTagReaders()voidinit()Initialize any internals before usePlaylistModelparsePlaylist(java.io.BufferedReader reader)PlaylistModelparsePlaylist(java.io.BufferedReader reader, boolean parseComments)PlaylistModelparsePlaylist(java.io.InputStream in)voidsetContextStr(String context)Specific to Playlist reader to set the context in which the playlist is reading.booleansetDebugTagReaders(boolean enabled)- 
Methods inherited from class com.wowza.wms.manifest.reader.ManifestReaderLogginggetDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
 
- 
 
- 
- 
- 
Method Detail- 
initpublic void init() Initialize any internals before use
 - 
getContextStrpublic String getContextStr() Description copied from class:ManifestReaderLoggingGet the context string associated with the Model to include with the log statements- Specified by:
- getContextStrin class- ManifestReaderLogging
- Returns:
- String
 
 - 
setContextStrpublic 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
 
 - 
parsePlaylistpublic PlaylistModel parsePlaylist(java.io.InputStream in) 
 - 
parsePlaylistpublic PlaylistModel parsePlaylist(java.io.BufferedReader reader) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
parsePlaylistpublic PlaylistModel parsePlaylist(java.io.BufferedReader reader, boolean parseComments) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
addTagReaderpublic void addTagReader(ITagReader reader) 
 - 
setDebugTagReaderspublic boolean setDebugTagReaders(boolean enabled) 
 - 
getDebugTagReaderspublic boolean getDebugTagReaders() 
 
- 
 
-