Class TagModelPartialSegment

  • All Implemented Interfaces:
    Cloneable

    public class TagModelPartialSegment
    extends TagModel
    • 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
      • equals

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

        public String toString()
        Specified by:
        toString in class TagModel
      • write

        public void write​(TagWriter writer)
                   throws java.io.IOException
        Specified by:
        write in class TagModel
        Throws:
        java.io.IOException
      • isValid

        public boolean isValid​(Integer version)
        Specified by:
        isValid in class TagModel