Class TagModelKey
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelKey
-
- All Implemented Interfaces:
Cloneable
public class TagModelKey extends TagModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagModelKey.Method
name: method format: enumerated-string status: REQUIRED
-
Field Summary
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors Constructor Description TagModelKey()
TagModelKey(String methodStr, String uri, String iv, String keyFormat, String keyFormatVersions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getIv()
String
getKeyFormat()
String
getKeyFormatVersions()
TagModelKey.Method
getMethod()
String
getUri()
int
hashCode()
boolean
isMediaSegmentTag()
boolean
isValid(Integer version)
void
setIv(String iv)
void
setKeyFormat(String keyFormat)
void
setKeyFormatVersions(String keyFormatVersions)
void
setMethod(TagModelKey.Method method)
void
setUri(String uri)
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
-
-
-
-
Method Detail
-
getMethod
public TagModelKey.Method getMethod()
- Returns:
- the method
-
setMethod
public void setMethod(TagModelKey.Method method)
- Parameters:
method
- the method to set
-
getUri
public String getUri()
- Returns:
- the uri
-
setUri
public void setUri(String uri)
- Parameters:
uri
- the uri to set
-
getIv
public String getIv()
- Returns:
- the iv
-
setIv
public void setIv(String iv)
- Parameters:
iv
- the iv to set
-
getKeyFormat
public String getKeyFormat()
- Returns:
- the keyFormat
-
setKeyFormat
public void setKeyFormat(String keyFormat)
- Parameters:
keyFormat
- the keyFormat to set
-
getKeyFormatVersions
public String getKeyFormatVersions()
- Returns:
- the keyFormatVersions
-
setKeyFormatVersions
public void setKeyFormatVersions(String keyFormatVersions)
- Parameters:
keyFormatVersions
- the keyFormatVersions to set
-
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
-
-