예제 #1
0
  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 = "";
  }
예제 #2
0
  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 = "";
  }