Class Segment
- Object
- 
- com.wowza.wms.manifest.model.ManifestModelLogging
- 
- com.wowza.wms.manifest.model.m3u8.Segment
 
 
- 
- All Implemented Interfaces:
- Cloneable
 
 public class Segment extends ManifestModelLogging 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.SortedMap<Long,TagModelPartialSegment>partialSegmentsprotected TagModelByteRangetagModelByteRangeprotected TagModelINFtagModelINFprotected TagModelKeytagModelKeyprotected TagModelMaptagModelMapprotected TagModelPreFetchtagModelPreFetchprotected TagModelProgramDateTimetagModelProgramDateTimeprotected java.util.HashSet<TagModel>tags
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddByteRangeTag(TagModelByteRange tagModelByteRange)booleanaddINFTag(TagModelINF tagModelINF)booleanaddKeyTag(TagModelKey tagModelKey)booleanaddMapTag(TagModelMap tagModelMap)booleanaddPartialSegmentTag(TagModelPartialSegment partialSegment)booleanaddPrefetchTag(TagModelPreFetch tagModelPreFetch)booleanaddProgramDateTimeTag(TagModelProgramDateTime tagModelProgramDateTime)booleanaddTag(TagModel tag)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 methodObjectclone()booleanequals(Object obj)protected StringgetContextStr()Get the context string associated with the Model to include with the log statementsjava.util.SortedMap<Long,TagModelPartialSegment>getPartialSegments()LonggetSequence()TagModelMapgetTagModelMap()java.util.Collection<TagModel>getTags()StringgetUri()inthashCode()booleanisComplete()voidremovePartialSegments()booleanremovePrefetchTag()voidsetComplete(boolean isComplete)voidsetSequence(Long sequence)voidsetUri(String uri)StringtoString()voidwrite(TagWriter tagWriter)- 
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogginggetDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
 
- 
 
- 
- 
- 
Field Detail- 
tagsprotected java.util.HashSet<TagModel> tags 
 - 
tagModelByteRangeprotected TagModelByteRange tagModelByteRange 
 - 
tagModelINFprotected TagModelINF tagModelINF 
 - 
tagModelProgramDateTimeprotected TagModelProgramDateTime tagModelProgramDateTime 
 - 
tagModelMapprotected TagModelMap tagModelMap 
 - 
tagModelPreFetchprotected TagModelPreFetch tagModelPreFetch 
 - 
tagModelKeyprotected TagModelKey tagModelKey 
 - 
partialSegmentsprotected java.util.SortedMap<Long,TagModelPartialSegment> partialSegments 
 
- 
 - 
Method Detail- 
getTagspublic java.util.Collection<TagModel> getTags() 
 - 
getUripublic String getUri() 
 - 
setUripublic void setUri(String uri) 
 - 
addTagpublic boolean addTag(TagModel tag) 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
 
 - 
addByteRangeTagpublic boolean addByteRangeTag(TagModelByteRange tagModelByteRange) 
 - 
addINFTagpublic boolean addINFTag(TagModelINF tagModelINF) 
 - 
addProgramDateTimeTagpublic boolean addProgramDateTimeTag(TagModelProgramDateTime tagModelProgramDateTime) 
 - 
addPartialSegmentTagpublic boolean addPartialSegmentTag(TagModelPartialSegment partialSegment) 
 - 
addMapTagpublic boolean addMapTag(TagModelMap tagModelMap) 
 - 
getTagModelMappublic TagModelMap getTagModelMap() - Returns:
- the tagModelMap
 
 - 
addPrefetchTagpublic boolean addPrefetchTag(TagModelPreFetch tagModelPreFetch) 
 - 
removePrefetchTagpublic boolean removePrefetchTag() 
 - 
addKeyTagpublic boolean addKeyTag(TagModelKey tagModelKey) 
 - 
equalspublic boolean equals(Object obj) - Overrides:
- equalsin class- Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- Object
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Object
 
 - 
clonepublic Object clone() throws CloneNotSupportedException- Overrides:
- clonein class- ManifestModelLogging
- Throws:
- CloneNotSupportedException
 
 - 
getContextStrprotected String getContextStr() Description copied from class:ManifestModelLoggingGet the context string associated with the Model to include with the log statements- Specified by:
- getContextStrin class- ManifestModelLogging
- Returns:
- String
 
 - 
writepublic void write(TagWriter tagWriter) throws java.io.IOException - Throws:
- java.io.IOException
 
 - 
getSequencepublic Long getSequence() 
 - 
setSequencepublic void setSequence(Long sequence) 
 - 
removePartialSegmentspublic void removePartialSegments() 
 - 
getPartialSegmentspublic java.util.SortedMap<Long,TagModelPartialSegment> getPartialSegments() 
 - 
isCompletepublic boolean isComplete() 
 - 
setCompletepublic void setComplete(boolean isComplete) 
 
- 
 
-