Class FloatTag


  • public class FloatTag
    extends Tag
    http://matroska.org/technical/specs/index.html Float tag is class able to store 4 byte float or 8 byte double, stores double by default
    • Method Detail

      • parse

        public void parse​(InputStream inputStream)
                   throws IOException
        Description copied from class: Tag
        method to read and to parse tag from inputStream given
        Specified by:
        parse in class Tag
        Parameters:
        inputStream - - stream to parse tag data from
        Throws:
        IOException - - in case of any IO errors
        See Also:
        Tag.parse(InputStream)
      • getValue

        public double getValue()
        getter for value as double
        Returns:
        - value as double
      • setValue

        public FloatTag setValue​(double value)
        setter for value, updates the size of this tag
        Parameters:
        value - - value to be set
        Returns:
        - this for chaining
      • toString

        public String toString()
        method to get "pretty" represented Tag
        Overrides:
        toString in class Tag