|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectccs.xml.XSPFFile
ccs.cpc.XSPFResultSet
public class XSPFResultSet
An intermediate representation of a result set which has been read from an XSPF file. It can be used either as an intermediate step when opening a result set as a device, or as-is as a viewer playlist.
| Field Summary | |
|---|---|
static java.lang.String |
DEVMETA
|
static java.lang.String |
VERMETA
|
| Fields inherited from class ccs.xml.XSPFFile |
|---|
builder, title, tracks, tree |
| Constructor Summary | |
|---|---|
XSPFResultSet(VFile xspf,
CpCmdr cpc,
boolean isRS)
Create an empty result-set container. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getLosses()
The list of entries which could not be restored, iff this is a CPC result set. |
VFileTrack[] |
getResults()
The list of resolved entries, ready to use. |
java.lang.String |
getTitle()
The title, after the XSPF has been read. |
void |
read()
Read the XSPF. |
| Methods inherited from class ccs.xml.XSPFFile |
|---|
getPlaylist, getTrackLocation, getTrackTitle, readFrom, writeTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERMETA
public static final java.lang.String DEVMETA
| Constructor Detail |
|---|
public XSPFResultSet(VFile xspf,
CpCmdr cpc,
boolean isRS)
xspf - The VFile containing the XSPF document.cpc - Used to resolve VDevices.isRS - Whether this is a Checkpoint Commander result set. These contain
extra metadata. If not, it's assumed to be a generic XSPF.| Method Detail |
|---|
public void read()
throws java.io.IOException
readFrom.
java.io.IOExceptionpublic java.lang.String getTitle()
getTitle in class ccs.xml.XSPFFilepublic java.lang.String[] getLosses()
public VFileTrack[] getResults()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||