public class MIMD_Tracks extends Object implements IMimdMetadataValue, INestedKlvValue
MIMD
tracks attribute.
This is a specialisation of a MIMD LIST<Track>.
See ST1903 for more information on this data type.
Constructor and Description |
---|
MIMD_Tracks(byte[] data,
int offset,
int numBytes)
Build a MIMD_Tracks from encoded bytes.
|
MIMD_Tracks(List<Track> values)
Create a MIMD_Tracks from values.
|
Modifier and Type | Method and Description |
---|---|
static MIMD_Tracks |
fromBytes(byte[] data)
Build a MIMD_Tracks from encoded bytes.
|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
IKlvValue |
getField(IKlvKey tag)
Get the value of a given item.
|
Set<? extends IKlvKey> |
getIdentifiers()
Get the set of identifiers for populated values.
|
public MIMD_Tracks(List<Track> values)
values
- the values to construct from.public MIMD_Tracks(byte[] data, int offset, int numBytes) throws KlvParseException
data
- the bytes to build from.offset
- the offset into bytes
to start parsing from.numBytes
- the number of bytes to parse.KlvParseException
- if parsing failspublic static MIMD_Tracks fromBytes(byte[] data) throws KlvParseException
data
- the bytes to build from.KlvParseException
- if parsing failspublic String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
public byte[] getBytes()
IMimdMetadataValue
getBytes
in interface IMimdMetadataValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
public IKlvValue getField(IKlvKey tag)
INestedKlvValue
getField
in interface INestedKlvValue
tag
- Tag or other identifier of the value to retrievepublic Set<? extends IKlvKey> getIdentifiers()
INestedKlvValue
getIdentifiers
in interface INestedKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.