⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.java

📁 这是有关于一个视频自动压缩系统的java+xml构建的代码
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -