Package org.deepsymmetry.cratedigger.pdb
Class RekordboxPdb.PlaylistTreeRow
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxPdb.PlaylistTreeRow
-
- Enclosing class:
- RekordboxPdb
public static class RekordboxPdb.PlaylistTreeRow extends io.kaitai.struct.KaitaiStructA row that holds a playlist name, ID, indication of whether it is an ordinary playlist or a folder of other playlists, a link to its parent folder, and its sort order.
-
-
Constructor Summary
Constructors Constructor Description PlaylistTreeRow(io.kaitai.struct.KaitaiStream _io)PlaylistTreeRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent)PlaylistTreeRow(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()byte[]_unnamed1()static RekordboxPdb.PlaylistTreeRowfromFile(String fileName)longid()The unique identifier by which this playlist or folder can be requested and linked from other rows.BooleanisFolder()RekordboxPdb.DeviceSqlStringname()The variable-length string naming the playlist.longparentId()The ID of the `playlist_tree_row` in which this one can be found, or `0` if this playlist exists at the root level.longrawIsFolder()Has a non-zero value if this is actually a folder rather than a playlist.longsortOrder()The order in which the entries of this playlist are sorted.
-
-
-
Constructor Detail
-
PlaylistTreeRow
public PlaylistTreeRow(io.kaitai.struct.KaitaiStream _io)
-
PlaylistTreeRow
public PlaylistTreeRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent)
-
PlaylistTreeRow
public PlaylistTreeRow(io.kaitai.struct.KaitaiStream _io, RekordboxPdb.RowRef _parent, RekordboxPdb _root)
-
-
Method Detail
-
fromFile
public static RekordboxPdb.PlaylistTreeRow fromFile(String fileName) throws IOException
- Throws:
IOException
-
isFolder
public Boolean isFolder()
-
parentId
public long parentId()
The ID of the `playlist_tree_row` in which this one can be found, or `0` if this playlist exists at the root level.
-
_unnamed1
public byte[] _unnamed1()
-
sortOrder
public long sortOrder()
The order in which the entries of this playlist are sorted.
-
id
public long id()
The unique identifier by which this playlist or folder can be requested and linked from other rows.
-
rawIsFolder
public long rawIsFolder()
Has a non-zero value if this is actually a folder rather than a playlist.
-
name
public RekordboxPdb.DeviceSqlString name()
The variable-length string naming the playlist.
-
_root
public RekordboxPdb _root()
-
_parent
public RekordboxPdb.RowRef _parent()
- Overrides:
_parentin classio.kaitai.struct.KaitaiStruct
-
-