YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.share.PickedQueue Class Reference

What the user picked with the system picker (files or the files of a folder), split into the queues that are played: one for each media type (audio, video, image), each sorted by name, at most MAX_FILES files over all queues (audio first, then video, then image). More...

Collaboration diagram for de.yaacc.share.PickedQueue:
Collaboration graph

Classes

class  Entry
 One picked file.
 
class  NaturalOrder
 Case-insensitive order in which digit runs compare as numbers (track2 before track10).
 
class  Result
 The three queues and what was left out.
 

Static Public Member Functions

static Result build (List< Entry > entries, boolean sort)
 

Static Public Attributes

static final int MAX_FILES = 500
 The most files that are queued over all types (the number of files, not bytes).
 

Detailed Description

What the user picked with the system picker (files or the files of a folder), split into the queues that are played: one for each media type (audio, video, image), each sorted by name, at most MAX_FILES files over all queues (audio first, then video, then image).

Everything that is not audio, video or an image is skipped. Pure logic, no Android classes.

Member Function Documentation

◆ build()

static Result de.yaacc.share.PickedQueue.build ( List< Entry > entries,
boolean sort )
static
Parameters
entriesthe picked files, may be null
sorttrue: each queue sorted by name (case-insensitive, numbers in numeric order); false: the order of the given list within each type

The documentation for this class was generated from the following file: