Class TagModelPreloadHint
- Object
-
- com.wowza.wms.manifest.model.ManifestModelLogging
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModel
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelPreloadHint
-
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
TagModelPreloadHintMap
,TagModelPreloadHintPart
public class TagModelPreloadHint extends TagModel
-
-
Field Summary
Fields Modifier and Type Field Description static String
BYTE_RANGE_LENGTH_ATTR
static String
BYTE_RANGE_START_ATTR
static String
HINT_TYPE_MAP
static String
HINT_TYPE_PART
static String
TYPE_ATTR
static String
URI_ATTR
-
Fields inherited from class com.wowza.wms.manifest.model.m3u8.tag.TagModel
attributes, tagName
-
-
Constructor Summary
Constructors Constructor Description TagModelPreloadHint(String type, String uri)
TagModelPreloadHint(String type, String uri, Long byteRangeStart, Long byteRangeLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Long
getByteRangeLength()
Long
getByteRangeStart()
String
getType()
String
getURI()
int
hashCode()
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
-
-
-
-
Field Detail
-
TYPE_ATTR
public static final String TYPE_ATTR
- See Also:
- Constant Field Values
-
HINT_TYPE_PART
public static final String HINT_TYPE_PART
- See Also:
- Constant Field Values
-
HINT_TYPE_MAP
public static final String HINT_TYPE_MAP
- See Also:
- Constant Field Values
-
URI_ATTR
public static final String URI_ATTR
- See Also:
- Constant Field Values
-
BYTE_RANGE_START_ATTR
public static final String BYTE_RANGE_START_ATTR
- See Also:
- Constant Field Values
-
BYTE_RANGE_LENGTH_ATTR
public static final String BYTE_RANGE_LENGTH_ATTR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Returns:
- the type
-
getURI
public String getURI()
- Returns:
- the uRI
-
getByteRangeStart
public Long getByteRangeStart()
- Returns:
- the byteRangeStart
-
getByteRangeLength
public Long getByteRangeLength()
- Returns:
- the byteRangeLength
-
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
-
-