Record Class FFProbeFormat

java.lang.Object
java.lang.Record
tv.hd3g.ffprobejaxb.data.FFProbeFormat

public record FFProbeFormat(List<FFProbeKeyValue> tags, String filename, int nbStreams, int nbPrograms, String formatName, String formatLongName, float startTime, float duration, long size, long bitRate, int probeScore) extends Record
FormatType
  • Constructor Summary

    Constructors
    Constructor
    Description
    FFProbeFormat(List<FFProbeKeyValue> tags, String filename, int nbStreams, int nbPrograms, String formatName, String formatLongName, float startTime, float duration, long size, long bitRate, int probeScore)
    Creates an instance of a FFProbeFormat record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the bitRate record component.
    float
    Returns the value of the duration record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the filename record component.
    Returns the value of the formatLongName record component.
    Returns the value of the formatName record component.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the nbPrograms record component.
    int
    Returns the value of the nbStreams record component.
    int
    Returns the value of the probeScore record component.
    long
    Returns the value of the size record component.
    float
    Returns the value of the startTime record component.
    Returns the value of the tags record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FFProbeFormat

      public FFProbeFormat(List<FFProbeKeyValue> tags, String filename, int nbStreams, int nbPrograms, String formatName, String formatLongName, float startTime, float duration, long size, long bitRate, int probeScore)
      Creates an instance of a FFProbeFormat record class.
      Parameters:
      tags - the value for the tags record component
      filename - the value for the filename record component
      nbStreams - the value for the nbStreams record component
      nbPrograms - the value for the nbPrograms record component
      formatName - the value for the formatName record component
      formatLongName - the value for the formatLongName record component
      startTime - the value for the startTime record component
      duration - the value for the duration record component
      size - the value for the size record component
      bitRate - the value for the bitRate record component
      probeScore - the value for the probeScore record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • tags

      public List<FFProbeKeyValue> tags()
      Returns the value of the tags record component.
      Returns:
      the value of the tags record component
    • filename

      public String filename()
      Returns the value of the filename record component.
      Returns:
      the value of the filename record component
    • nbStreams

      public int nbStreams()
      Returns the value of the nbStreams record component.
      Returns:
      the value of the nbStreams record component
    • nbPrograms

      public int nbPrograms()
      Returns the value of the nbPrograms record component.
      Returns:
      the value of the nbPrograms record component
    • formatName

      public String formatName()
      Returns the value of the formatName record component.
      Returns:
      the value of the formatName record component
    • formatLongName

      public String formatLongName()
      Returns the value of the formatLongName record component.
      Returns:
      the value of the formatLongName record component
    • startTime

      public float startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • duration

      public float duration()
      Returns the value of the duration record component.
      Returns:
      the value of the duration record component
    • size

      public long size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • bitRate

      public long bitRate()
      Returns the value of the bitRate record component.
      Returns:
      the value of the bitRate record component
    • probeScore

      public int probeScore()
      Returns the value of the probeScore record component.
      Returns:
      the value of the probeScore record component