Package tv.hd3g.ffprobejaxb.data
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
ConstructorsConstructorDescriptionFFProbeFormat(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 aFFProbeFormatrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongbitRate()Returns the value of thebitRaterecord component.floatduration()Returns the value of thedurationrecord component.final booleanIndicates whether some other object is "equal to" this one.filename()Returns the value of thefilenamerecord component.Returns the value of theformatLongNamerecord component.Returns the value of theformatNamerecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thenbProgramsrecord component.intReturns the value of thenbStreamsrecord component.intReturns the value of theprobeScorerecord component.longsize()Returns the value of thesizerecord component.floatReturns the value of thestartTimerecord component.tags()Returns the value of thetagsrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aFFProbeFormatrecord class.- Parameters:
tags- the value for thetagsrecord componentfilename- the value for thefilenamerecord componentnbStreams- the value for thenbStreamsrecord componentnbPrograms- the value for thenbProgramsrecord componentformatName- the value for theformatNamerecord componentformatLongName- the value for theformatLongNamerecord componentstartTime- the value for thestartTimerecord componentduration- the value for thedurationrecord componentsize- the value for thesizerecord componentbitRate- the value for thebitRaterecord componentprobeScore- the value for theprobeScorerecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
tags
Returns the value of thetagsrecord component.- Returns:
- the value of the
tagsrecord component
-
filename
Returns the value of thefilenamerecord component.- Returns:
- the value of the
filenamerecord component
-
nbStreams
public int nbStreams()Returns the value of thenbStreamsrecord component.- Returns:
- the value of the
nbStreamsrecord component
-
nbPrograms
public int nbPrograms()Returns the value of thenbProgramsrecord component.- Returns:
- the value of the
nbProgramsrecord component
-
formatName
Returns the value of theformatNamerecord component.- Returns:
- the value of the
formatNamerecord component
-
formatLongName
Returns the value of theformatLongNamerecord component.- Returns:
- the value of the
formatLongNamerecord component
-
startTime
public float startTime()Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
duration
public float duration()Returns the value of thedurationrecord component.- Returns:
- the value of the
durationrecord component
-
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
bitRate
public long bitRate()Returns the value of thebitRaterecord component.- Returns:
- the value of the
bitRaterecord component
-
probeScore
public int probeScore()Returns the value of theprobeScorerecord component.- Returns:
- the value of the
probeScorerecord component
-