public class Segment extends ManifestModelLogging
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.SortedMap<Long,TagModelPartialSegment> |
partialSegments |
|
protected TagModelByteRange |
tagModelByteRange |
|
protected TagModelINF |
tagModelINF |
|
protected TagModelKey |
tagModelKey |
|
protected TagModelMap |
tagModelMap |
|
protected TagModelPreFetch |
tagModelPreFetch |
|
protected TagModelProgramDateTime |
tagModelProgramDateTime |
|
protected java.util.HashSet<TagModel> |
tags |
| Constructor | Description |
|---|---|
Segment() |
|
Segment(String uri,
long sequence,
String context) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
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 |
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
|
Object |
clone() |
|
boolean |
equals(Object obj) |
|
protected String |
getContextStr() |
Get the context string associated with the Model to include with the log statements
|
java.util.SortedMap<Long,TagModelPartialSegment> |
getPartialSegments() |
|
Long |
getSequence() |
|
java.util.Collection<TagModel> |
getTags() |
|
String |
getUri() |
|
int |
hashCode() |
|
boolean |
isComplete() |
|
void |
removePartialSegments() |
|
boolean |
removePrefetchTag() |
|
void |
setComplete(boolean isComplete) |
|
void |
setSequence(Long sequence) |
|
void |
setUri(String uri) |
|
String |
toString() |
|
void |
write(TagWriter tagWriter) |
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOutprotected java.util.SortedMap<Long,TagModelPartialSegment> partialSegments
protected TagModelByteRange tagModelByteRange
protected TagModelINF tagModelINF
protected TagModelKey tagModelKey
protected TagModelMap tagModelMap
protected TagModelPreFetch tagModelPreFetch
protected TagModelProgramDateTime tagModelProgramDateTime
protected java.util.HashSet<TagModel> tags
public Segment()
public Segment(String uri,
long sequence,
String context)
public boolean addByteRangeTag(TagModelByteRange tagModelByteRange)
public boolean addINFTag(TagModelINF tagModelINF)
public boolean addKeyTag(TagModelKey tagModelKey)
public boolean addMapTag(TagModelMap tagModelMap)
public boolean addPartialSegmentTag(TagModelPartialSegment partialSegment)
public boolean addPrefetchTag(TagModelPreFetch tagModelPreFetch)
public boolean addProgramDateTimeTag(TagModelProgramDateTime tagModelProgramDateTime)
public boolean addTag(TagModel tag)
tag - to be added to the playlist modelpublic Object clone()
throws CloneNotSupportedException
clone in class ManifestModelLoggingCloneNotSupportedExceptionpublic boolean equals(Object obj)
equals in class Objectprotected String getContextStr()
ManifestModelLogginggetContextStr in class ManifestModelLoggingpublic java.util.SortedMap<Long,TagModelPartialSegment> getPartialSegments()
public Long getSequence()
public java.util.Collection<TagModel> getTags()
public String getUri()
public int hashCode()
hashCode in class Objectpublic boolean isComplete()
public void removePartialSegments()
public boolean removePrefetchTag()
public void setComplete(boolean isComplete)
public void setSequence(Long sequence)
public void setUri(String uri)
public String toString()
toString in class Objectpublic void write(TagWriter tagWriter) throws java.io.IOException
java.io.IOException