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
Abstract Manifest Writer Model base class
Provides implementations that are common to all Manfiest / Playlist writer models
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Get the context string associated with the Model to include with the log statementsboolean
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 Details
-
tagWriter
-
validatePlaylists
protected boolean validatePlaylists -
contextStr
-
-
Constructor Details
-
ManifestWriter
- Throws:
IllegalArgumentException
-
-
Method Details
-
isValidatePlaylists
public boolean isValidatePlaylists() -
setValidatePlaylists
public void setValidatePlaylists(boolean validatePlaylists) -
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
- Parameters:
manifest
- Manifest model to write to the outputStream- Returns:
- true if write did not encounter errors
- Throws:
IOException
-