SHARE
TWEET

Untitled

a guest Jun 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void main(String[] args) {
  2.  
  3.     try {
  4.         FileInputStream fis;
  5.         Player player;
  6.         fis = new FileInputStream("Macintosh HD/Usuarios/imabsolutions-biondi/Escritorio/Kana-Boon - Silhouette.mp3");
  7.         BufferedInputStream bis = new BufferedInputStream(fis);
  8.  
  9.         player = new Player(bis); // Llamada a constructor de la clase Player
  10.         player.play();          // Llamada al método play
  11.     } catch (JavaLayerException | FileNotFoundException e) {
  12.         System.out.println("Error" + e);;
  13.     }
  14.  
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top