Package com.wowza.wms.manifest.writer
Class ManifestWriter
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.writer.ManifestWriter
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
MediaPlaylistWriter
,PlaylistWriter
public abstract class ManifestWriter extends ManifestModelLogging
Abstract Manifest Writer Model base class Provides implementations that are common to all Manfiest / Playlist writer models
-
-
Field Summary
Fields Modifier and Type Field Description protected String
contextStr
protected TagWriter
tagWriter
protected boolean
validatePlaylists
-
Constructor Summary
Constructors Constructor Description ManifestWriter(java.io.OutputStream outputStream, String contextStr)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
getContextStr()
Get the context string associated with the Model to include with the log statementsboolean
isValidatePlaylists()
void
setValidatePlaylists(boolean validatePlaylists)
abstract boolean
write(ManifestModel manifest)
-
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogging
clone, getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
-
-
-
Field Detail
-
tagWriter
protected final TagWriter tagWriter
-
validatePlaylists
protected boolean validatePlaylists
-
contextStr
protected String contextStr
-
-
Method Detail
-
isValidatePlaylists
public boolean isValidatePlaylists()
-
setValidatePlaylists
public void setValidatePlaylists(boolean validatePlaylists)
-
getContextStr
protected String getContextStr()
Description copied from class:ManifestModelLogging
Get the context string associated with the Model to include with the log statements- Specified by:
getContextStr
in classManifestModelLogging
- Returns:
- String
-
write
public abstract boolean write(ManifestModel manifest) throws java.io.IOException
- Parameters:
manifest
- Manifest model to write to the outputStream- Returns:
- true if write did not encounter errors
- Throws:
java.io.IOException
-
-