Package org.deepsymmetry.cratedigger.pdb
Class RekordboxPdb.ArtistRow
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxPdb.ArtistRow
-
- Enclosing class:
- RekordboxPdb
public static class RekordboxPdb.ArtistRow extends io.kaitai.struct.KaitaiStruct
A row that holds an artist name and ID.
-
-
Constructor Summary
Constructors Constructor Description ArtistRow(io.kaitai.struct.KaitaiStream _io)
ArtistRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent)
ArtistRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent, RekordboxPdb _root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RekordboxPdb.RowRef
_parent()
RekordboxPdb
_root()
int
_unnamed3()
static RekordboxPdb.ArtistRow
fromFile(String fileName)
long
id()
The unique identifier by which this artist can be requested and linked from other rows (such as tracks).int
indexShift()
TODO name from @flesniak, but what does it mean?RekordboxPdb.DeviceSqlString
name()
The name of this artist.Integer
ofsNameFar()
For names that might be further than 0xff bytes from the start of this row, this holds a two-byte offset, and is signalled by the subtype value.int
ofsNameNear()
The location of the variable-length name string, relative to the start of this row, unless subtype is 0x64.int
subtype()
Usually 0x60, but 0x64 means we have a long name offset embedded in the row.
-
-
-
Constructor Detail
-
ArtistRow
public ArtistRow(io.kaitai.struct.KaitaiStream _io)
-
ArtistRow
public ArtistRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent)
-
ArtistRow
public ArtistRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent, RekordboxPdb _root)
-
-
Method Detail
-
fromFile
public static RekordboxPdb.ArtistRow fromFile(String fileName) throws IOException
- Throws:
IOException
-
ofsNameFar
public Integer ofsNameFar()
For names that might be further than 0xff bytes from the start of this row, this holds a two-byte offset, and is signalled by the subtype value.
-
name
public RekordboxPdb.DeviceSqlString name()
The name of this artist.
-
subtype
public int subtype()
Usually 0x60, but 0x64 means we have a long name offset embedded in the row.
-
indexShift
public int indexShift()
TODO name from @flesniak, but what does it mean?
-
id
public long id()
The unique identifier by which this artist can be requested and linked from other rows (such as tracks).
-
_unnamed3
public int _unnamed3()
-
ofsNameNear
public int ofsNameNear()
The location of the variable-length name string, relative to the start of this row, unless subtype is 0x64.
-
_root
public RekordboxPdb _root()
-
_parent
public RekordboxPdb.RowRef _parent()
- Overrides:
_parent
in classio.kaitai.struct.KaitaiStruct
-
-