package lansintvserver; import java.io.File; /* * MediaPlayer.java * * Created on April 9, 2007, 5:34 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ /** * * @author mario */ public class MediaPlayer { MediaPlayerThread foo2 = new MediaPlayerThread(); Clip Clipinfo = new Clip(); boolean playflag; /** Creates a new instance of MediaPlayer */ public MediaPlayer() { } public void PlayFile() { foo2.start(); } public void Stop() { try { foo2.SendCommand("quit\n"); } catch(Exception e) { System.out.println(e.getMessage()); } } }