Class TagModelPartialSegment
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelPartialSegment
-
- All Implemented Interfaces:
Cloneable
public class TagModelPartialSegment extends TagModel
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors Constructor Description TagModelPartialSegment(double duration, String uri, boolean isIndependent, long partNumber)
TagModelPartialSegment(double duration, String uRI, boolean isIndependent, String byteRange, boolean hasGapAttribute, long partNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getByteRange()
double
getDuration()
long
getPartNumber()
String
getURI()
int
hashCode()
boolean
isHasGapAttribute()
boolean
isIndependent()
boolean
isMediaSegmentTag()
boolean
isValid(Integer version)
String
toString()
boolean
validForMasterPlaylist()
boolean
validForMediaPlaylist()
void
write(TagWriter writer)
-
Methods inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
addAllAttributes, addAttribute, clone, equals, findTags, formatAttributes, formatBoolean, formatBooleanAttribute, formatDoubleAttribute, formatEnumAttribute, formatFloat, formatFloatAttribute, formatInteger, formatIntegerAttribute, formatLong, formatLongAttribute, formatQuotedStringAttribute, formatString, formatUnquotedStringAttribute, formatValue, getContextStr, getTag, getTagName, getUnknownAttributes, setContextStr
-
Methods inherited from class com.wowza.wms.manifest.model.ManifestModelLogging
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOut
-
-
-
-
Constructor Detail
-
TagModelPartialSegment
public TagModelPartialSegment(double duration, String uri, boolean isIndependent, long partNumber)
-
TagModelPartialSegment
public TagModelPartialSegment(double duration, String uRI, boolean isIndependent, String byteRange, boolean hasGapAttribute, long partNumber)
-
-
Method Detail
-
getDuration
public double getDuration()
- Returns:
- the duration
-
getURI
public String getURI()
- Returns:
- the uRI
-
getByteRange
public String getByteRange()
- Returns:
- the byteRange
-
isIndependent
public boolean isIndependent()
- Returns:
- the isIndependent
-
isHasGapAttribute
public boolean isHasGapAttribute()
- Returns:
- the hasGapAttribute
-
getPartNumber
public long getPartNumber()
- Returns:
- the part number
-
validForMasterPlaylist
public boolean validForMasterPlaylist()
- Specified by:
validForMasterPlaylist
in classTagModel
-
validForMediaPlaylist
public boolean validForMediaPlaylist()
- Specified by:
validForMediaPlaylist
in classTagModel
-
write
public void write(TagWriter writer) throws java.io.IOException
-
isMediaSegmentTag
public boolean isMediaSegmentTag()
- Specified by:
isMediaSegmentTag
in classTagModel
-
-