Class Segment

    • Constructor Detail

      • Segment

        public Segment​(String uri,
                       long sequence,
                       String context)
      • Segment

        public Segment()
    • Method Detail

      • getTags

        public java.util.Collection<TagModel> getTags()
      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • addTag

        public 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
        Parameters:
        tag - to be added to the playlist model
        Returns:
        whether the tag was successfully added
      • addByteRangeTag

        public boolean addByteRangeTag​(TagModelByteRange tagModelByteRange)
      • addINFTag

        public boolean addINFTag​(TagModelINF tagModelINF)
      • addProgramDateTimeTag

        public boolean addProgramDateTimeTag​(TagModelProgramDateTime tagModelProgramDateTime)
      • addMapTag

        public boolean addMapTag​(TagModelMap tagModelMap)
      • getTagModelMap

        public TagModelMap getTagModelMap()
        Returns:
        the tagModelMap
      • addPrefetchTag

        public boolean addPrefetchTag​(TagModelPreFetch tagModelPreFetch)
      • removePrefetchTag

        public boolean removePrefetchTag()
      • addKeyTag

        public boolean addKeyTag​(TagModelKey tagModelKey)
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object
      • clone

        public Object clone()
                     throws CloneNotSupportedException
        Overrides:
        clone in class ManifestModelLogging
        Throws:
        CloneNotSupportedException
      • write

        public void write​(TagWriter tagWriter)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getSequence

        public Long getSequence()
      • setSequence

        public void setSequence​(Long sequence)
      • removePartialSegments

        public void removePartialSegments()
      • isComplete

        public boolean isComplete()
      • setComplete

        public void setComplete​(boolean isComplete)