Package org.deepsymmetry.cratedigger.pdb
Class RekordboxPdb.AlbumRow
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxPdb.AlbumRow
-
- Enclosing class:
- RekordboxPdb
public static class RekordboxPdb.AlbumRow extends io.kaitai.struct.KaitaiStructA row that holds an album name and ID.
-
-
Constructor Summary
Constructors Constructor Description AlbumRow(io.kaitai.struct.KaitaiStream _io)AlbumRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent)AlbumRow(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()long_unnamed2()long_unnamed5()int_unnamed6()longartistId()Identifies the artist associated with the album.static RekordboxPdb.AlbumRowfromFile(String fileName)longid()The unique identifier by which this album can be requested and linked from other rows (such as tracks).intindexShift()TODO name from @flesniak, but what does it mean?RekordboxPdb.DeviceSqlStringname()The name of this album.IntegerofsNameFar()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.intofsNameNear()The location of the variable-length name string, relative to the start of this row, unless subtype is 0x84.intsubtype()Usually 0x80, but 0x84 means we have a long name offset embedded in the row.
-
-
-
Constructor Detail
-
AlbumRow
public AlbumRow(io.kaitai.struct.KaitaiStream _io)
-
AlbumRow
public AlbumRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent)
-
AlbumRow
public AlbumRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent, RekordboxPdb _root)
-
-
Method Detail
-
fromFile
public static RekordboxPdb.AlbumRow 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 album.
-
subtype
public int subtype()
Usually 0x80, but 0x84 means we have a long name offset embedded in the row.
-
indexShift
public int indexShift()
TODO name from @flesniak, but what does it mean?
-
_unnamed2
public long _unnamed2()
-
artistId
public long artistId()
Identifies the artist associated with the album.
-
id
public long id()
The unique identifier by which this album can be requested and linked from other rows (such as tracks).
-
_unnamed5
public long _unnamed5()
-
_unnamed6
public int _unnamed6()
-
ofsNameNear
public int ofsNameNear()
The location of the variable-length name string, relative to the start of this row, unless subtype is 0x84.
-
_root
public RekordboxPdb _root()
-
_parent
public RekordboxPdb.RowRef _parent()
- Overrides:
_parentin classio.kaitai.struct.KaitaiStruct
-
-