YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.openhome.OhTrackListParser Class Reference

Reads the answer of ReadList: <TrackList><Entry><Id/><Uri/><Metadata/></Entry>...</TrackList>. More...

Collaboration diagram for de.yaacc.openhome.OhTrackListParser:
Collaboration graph

Static Public Member Functions

static List< OhQueue.Entry > parse (String trackListXml, java.util.Set< Long > wanted)
 Reads the entries the caller asked for.
 

Detailed Description

Reads the answer of ReadList: <TrackList><Entry><Id/><Uri/><Metadata/></Entry>...</TrackList>.

Member Function Documentation

◆ parse()

static List< OhQueue.Entry > de.yaacc.openhome.OhTrackListParser.parse ( String trackListXml,
java.util.Set< Long > wanted )
static

Reads the entries the caller asked for.

Entries with an id that is not a valid id or was not asked for, with an address that is empty or longer than OhQueue#MAX_URI_LENGTH and with metadata longer than OhQueue#MAX_METADATA_LENGTH are left out, and so is everything after as many entries as were asked for.

Parameters
wantedthe ids that were asked for

Referenced by de.yaacc.openhome.OhRemote.queue().

Here is the caller graph for this function:

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