public class TagModelKey extends TagModel
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TagModelKey.Method |
name: method
format: enumerated-string
status: REQUIRED
|
attributes, tagName| Constructor | Description |
|---|---|
TagModelKey() |
|
TagModelKey(String methodStr,
String uri,
String iv,
String keyFormat,
String keyFormatVersions) |
| 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) |
getDebugLog, logDebug, logError, logError, logError, logInfo, logWarn, setDebugLog, setUseSystemOut, usingSystemOutaddAllAttributes, addAttribute, clone, equals, findTags, formatAttributes, formatBoolean, formatBooleanAttribute, formatDoubleAttribute, formatEnumAttribute, formatFloat, formatFloatAttribute, formatInteger, formatIntegerAttribute, formatLong, formatLongAttribute, formatQuotedStringAttribute, formatString, formatUnquotedStringAttribute, formatValue, getContextStr, getTag, getTagName, getUnknownAttributes, setContextStrpublic TagModelKey()
public TagModelKey(String methodStr,
String uri,
String iv,
String keyFormat,
String keyFormatVersions)
public String getIv()
public String getKeyFormat()
public String getKeyFormatVersions()
public TagModelKey.Method getMethod()
public String getUri()
public boolean isMediaSegmentTag()
isMediaSegmentTag in class TagModelpublic void setIv(String iv)
iv - the iv to setpublic void setKeyFormat(String keyFormat)
keyFormat - the keyFormat to setpublic void setKeyFormatVersions(String keyFormatVersions)
keyFormatVersions - the keyFormatVersions to setpublic void setMethod(TagModelKey.Method method)
method - the method to setpublic void setUri(String uri)
uri - the uri to setpublic boolean validForMasterPlaylist()
validForMasterPlaylist in class TagModelpublic boolean validForMediaPlaylist()
validForMediaPlaylist in class TagModel