org.xnap.util.launcher
Interface Player

All Superinterfaces:
Launcher
All Known Implementing Classes:
DefaultPlayer, ITunesPlayer, JMFPlayer, NoatunPlayer, XMMSPlayer

public interface Player
extends Launcher


Method Summary
 boolean canPlay(java.io.File file)
          Returns true, if the player can play file.
 void enqueue(java.io.File file)
          Enqueues file.
 void start()
          Starts the player.
 void stop()
          Stops the player.
 
Methods inherited from interface org.xnap.util.launcher.Launcher
getCommand, getKey, getName, isEditable, isEnabled, open, open, setCommand
 

Method Detail

canPlay

boolean canPlay(java.io.File file)
Returns true, if the player can play file.


enqueue

void enqueue(java.io.File file)
             throws java.io.IOException
Enqueues file.

Throws:
java.io.IOException

start

void start()
           throws java.io.IOException
Starts the player.

Throws:
java.io.IOException

stop

void stop()
Stops the player.



Copyright © 2001-2005 XNap Team. All Rights Reserved.