示例#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);
   }
 }