|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.util.launcher.DefaultLauncher org.xnap.util.launcher.DefaultPlayer org.xnap.util.launcher.XMMSPlayer
public class XMMSPlayer
Provides player support for XMMS.
Field Summary |
---|
Fields inherited from class org.xnap.util.launcher.DefaultPlayer |
---|
player |
Constructor Summary | |
---|---|
XMMSPlayer()
|
Method Summary | |
---|---|
void |
enqueue(java.io.File file)
Executes DefaultLauncher.getCommand() , passing file as an
argument. |
void |
open(java.io.File file)
Calls DefaultPlayer.stop() and DefaultPlayer.enqueue(File) . |
void |
start()
Executes DefaultLauncher.getCommand() . |
void |
stop()
Calls destory() on the player process, if running. |
Methods inherited from class org.xnap.util.launcher.DefaultPlayer |
---|
canPlay, open |
Methods inherited from class org.xnap.util.launcher.DefaultLauncher |
---|
getCommand, getKey, getName, isEditable, isEnabled, setCommand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xnap.util.launcher.Launcher |
---|
getCommand, getKey, getName, isEditable, isEnabled, setCommand |
Constructor Detail |
---|
public XMMSPlayer()
Method Detail |
---|
public void enqueue(java.io.File file) throws java.io.IOException
DefaultPlayer
DefaultLauncher.getCommand()
, passing file
as an
argument.
enqueue
in interface Player
enqueue
in class DefaultPlayer
java.io.IOException
public void open(java.io.File file) throws java.io.IOException
DefaultPlayer
DefaultPlayer.stop()
and DefaultPlayer.enqueue(File)
.
open
in interface Launcher
open
in class DefaultPlayer
java.io.IOException
public void start() throws java.io.IOException
DefaultPlayer
DefaultLauncher.getCommand()
.
start
in interface Player
start
in class DefaultPlayer
java.io.IOException
public void stop()
DefaultPlayer
destory()
on the player process, if running.
stop
in interface Player
stop
in class DefaultPlayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |