|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vwp.sound.mod.modplay.PlayList
public class PlayList
A list of module names to be played
| Constructor Summary | |
|---|---|
PlayList(String fileName)
makes a playlist from a file containing filenames seperated by newlines |
|
PlayList(String[] modules)
makes a playlist containing several modules |
|
| Method Summary | |
|---|---|
int |
getNumberOfFileNames()
|
String |
getPlayListName()
|
String |
getRandomFileName()
|
boolean |
hasNext()
|
Object |
next()
|
String |
nextFileName()
|
void |
remove()
removes the current module from the playlist |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlayList(String fileName)
throws IOException
fileName - the name of a module
IOException
public PlayList(String[] modules)
throws IOException
modules -
IOException| Method Detail |
|---|
public String getPlayListName()
public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface Iteratorpublic String nextFileName()
public void remove()
remove in interface Iteratorpublic int getNumberOfFileNames()
public String getRandomFileName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||