Package com.jackmeng.tailwind
Class use_TailwindPlaylist
java.lang.Object
com.jackmeng.tailwind.use_TailwindPlaylist
- All Implemented Interfaces:
impl_Identifiable
,Iterable<String>
- Direct Known Subclasses:
use_StubPlaylist
A semi-modifiable representation of a list of use_TailwindTracks.
Most of the time it could be representative of real physical data on the hard disk or custom created lists created during runtime (e.g. LikedTracksList, TracksBlackList). In turn, this class provides extensive functionalities for controlling data within these lists and offloading when necessary.
Most of the time it could be representative of real physical data on the hard disk or custom created lists created during runtime (e.g. LikedTracksList, TracksBlackList). In turn, this class provides extensive functionalities for controlling data within these lists and offloading when necessary.
- Author:
- Jack Meng
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected final String
protected final use_TailwindPlaylist.playlist_Traits
private boolean
-
Constructor Summary
ModifierConstructorDescriptionuse_TailwindPlaylist
(use_TailwindPlaylist.playlist_Traits traits, String parent) use_TailwindPlaylist
(use_TailwindPlaylist.playlist_Traits traits, String parent, String[] endings) protected
use_TailwindPlaylist
(String name, String[] children, String[] endings, use_TailwindPlaylist.playlist_Traits traits) -
Method Summary
Modifier and TypeMethodDescriptionvoid
static use_TailwindPlaylist
String[]
id()
void
boolean
isChildren
(String name) iterator()
void
refresh()
void
sort()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
parent
-
endings
-
children
-
traits
-
use_standard
private boolean use_standard
-
-
Constructor Details
-
use_TailwindPlaylist
public use_TailwindPlaylist(use_TailwindPlaylist.playlist_Traits traits, String parent, String[] endings) -
use_TailwindPlaylist
-
use_TailwindPlaylist
protected use_TailwindPlaylist(String name, String[] children, String[] endings, use_TailwindPlaylist.playlist_Traits traits)
-
-
Method Details
-
getParent
- Returns:
- String
-
getCanonicalParent_1
- Returns:
- String
-
getCanonicalParent_2
- Returns:
- String
-
expose_traits
- Returns:
- playlist_Traits
-
init
- Parameters:
endings
-
-
addChild
- Parameters:
child
-
-
refresh
public void refresh() -
getChildrens
- Returns:
- String[]
-
child_tracks
-
sort
public void sort() -
isChildren
- Parameters:
name
- Absolute path of the children to find- Returns:
- (true||false) depending on whether a suspected children exists.
-
construct
- Parameters:
e
- The name of the FOLDER construct- Returns:
- A
use_TailwindPlaylist
object
-
iterator
-
deep_iterator
-
as_tracks
-
id
- Specified by:
id
in interfaceimpl_Identifiable
- Returns:
- String
-
toString
-