public Run(String[] originalArgs, int runMode) { this(runMode); args = originalArgs; if (!Common.withGUI()) { SetUp set = new SetUp(); set.readSetFile(); // set up the file name and directory } // test( args ); webSite = ""; }
public Run(String onlyURL, String volumeTitle, String title, int runMode) { this(runMode); this.title = title; this.volumeTitle = volumeTitle; this.runMode = runMode; String[] url = new String[1]; url[0] = onlyURL; args = url; SetUp set = new SetUp(); set.readSetFile(); // 讀入設置檔的設置參數 // test( args ); webSite = ""; }