main.java
来自「这是有关于一个视频自动压缩系统的java+xml构建的代码」· Java 代码 · 共 44 行
JAVA
44 行
package autoencodeinfinit;import autoencodeinfinit.XMLProcess.XMLProcess;import java.util.Scanner;import org.w3c.dom.Element;import autoencodeinfinit.QueueProcess.*;/** * AutoEncodeInfinit is a background application which Dealing with the mulit-medias * file and communicate with the JSP server pages * @author ulysess */public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("Type in the address of xml file:"); String add=sc.next(); //XMLTrans mencoder=null; /*try{ mencoder = new XMLTrans(add); } catch (Exception err) { } if(mencoder!=null) { System.out.println("Type in the element you want:"); String ele=sc.next(); mencoder.printxml(ele); }*/ XMLProcess test = new XMLProcess(add) , tt = null; QueueEntity teee = new QueueEntity(test.getChildNodes("Settings", 0)); String testtttt= teee.toMencoderParameter("test.avi" , "testssdfsd.avi"); System.out.println(testtttt ); tt = XMLProcess.CreateXMLFile("/home/ulysess/鏂囨。/profiles/jjjj.xml"); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?