|
|||||||||
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(java.lang.String fileName)
makes a playlist from a file containing filenames seperated by newlines |
|
PlayList(java.lang.String[] modules)
makes a playlist containing several modules |
Method Summary | |
---|---|
int |
getNumberOfFileNames()
|
java.lang.String |
getPlayListName()
|
java.lang.String |
getRandomFileName()
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
java.lang.String |
nextFileName()
|
void |
remove()
removes the current module from the playlist |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayList(java.lang.String fileName) throws java.io.IOException
fileName
- the name of a module
java.io.IOException
public PlayList(java.lang.String[] modules) throws java.io.IOException
modules
-
java.io.IOException
Method Detail |
---|
public java.lang.String getPlayListName()
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public java.lang.String nextFileName()
public void remove()
remove
in interface java.util.Iterator
public int getNumberOfFileNames()
public java.lang.String getRandomFileName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |