Class Segment
Object
com.wowza.wms.manifest.model.ManifestModelLogging
com.wowza.wms.manifest.model.m3u8.Segment
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SortedMap<Long,
TagModelPartialSegment> protected TagModelByteRange
protected TagModelINF
protected TagModelKey
protected TagModelMap
protected TagModelPreFetch
protected TagModelProgramDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
addByteRangeTag
(TagModelByteRange tagModelByteRange) boolean
addINFTag
(TagModelINF tagModelINF) boolean
addKeyTag
(TagModelKey tagModelKey) boolean
addMapTag
(TagModelMap tagModelMap) boolean
addPartialSegmentTag
(TagModelPartialSegment partialSegment) boolean
addPrefetchTag
(TagModelPreFetch tagModelPreFetch) boolean
addProgramDateTimeTag
(TagModelProgramDateTime tagModelProgramDateTime) boolean
Add a tag to the Segment model and propagate context and debug settings Do not add the TagModleURI tag, or any tag that has can be added by a public methodclone()
boolean
protected String
Get the context string associated with the Model to include with the log statementsgetTags()
getUri()
int
hashCode()
boolean
void
boolean
void
setComplete
(boolean isComplete) void
setSequence
(Long sequence) void
toString()
void
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogging
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
Field Details
-
tags
-
tagModelByteRange
-
tagModelINF
-
tagModelProgramDateTime
-
tagModelMap
-
tagModelPreFetch
-
tagModelKey
-
partialSegments
-
-
Constructor Details
-
Segment
-
Segment
public Segment()
-
-
Method Details
-
getTags
-
getUri
-
setUri
-
addTag
Add a tag to the Segment model and propagate context and debug settings Do not add the TagModleURI tag, or any tag that has can be added by a public method- Parameters:
tag
- to be added to the playlist model- Returns:
- whether the tag was successfully added
-
addByteRangeTag
-
addINFTag
-
addProgramDateTimeTag
-
addPartialSegmentTag
-
addMapTag
-
getTagModelMap
- Returns:
- the tagModelMap
-
addPrefetchTag
-
removePrefetchTag
public boolean removePrefetchTag() -
addKeyTag
-
equals
-
hashCode
public int hashCode() -
toString
-
clone
- Overrides:
clone
in classManifestModelLogging
- Throws:
CloneNotSupportedException
-
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
- Throws:
IOException
-
getSequence
-
setSequence
-
removePartialSegments
public void removePartialSegments() -
getPartialSegments
-
isComplete
public boolean isComplete() -
setComplete
public void setComplete(boolean isComplete) -
getTagModelKey
-