예제 #1
0
파일: GuiClient.java 프로젝트: x-mel/eva
 // we define the method for downloading when pressing on the download button
 public void downvidlink(String msg) {
   try {
     Runtime.getRuntime().exec("wget -c " + msg);
   } catch (Exception e) {
     System.out.println("Downloading with wget failed: " + e);
   }
 }
예제 #2
0
파일: GuiClient.java 프로젝트: x-mel/eva
 // we define the method for getting a streaming link when pressing on the stream button
 public void streamvidlink(String msg) {
   try {
     Runtime.getRuntime().exec("smplayer " + msg);
   } catch (Exception e) {
     System.out.println("Streaming with smplayer failed: " + e);
   }
 }