Parser_16_05_2011(String file) {
    try {

      this.workbook = Workbook.getWorkbook(new File(config.excelfile));
    } catch (IOException ex) {
      Logger.getLogger(Parser_16_05_2011.class.getName()).log(Level.SEVERE, null, ex);
    } catch (BiffException ex) {
      Logger.getLogger(Parser_16_05_2011.class.getName()).log(Level.SEVERE, null, ex);
    }
  }
  private void Action() throws IOException, WriteException, BiffException {
    workbook = Workbook.getWorkbook(new File(config.excelfile));
    // LinkedList<String> lpcre = this.getPCREbyRuleset(workbook, rule, 1);

    switch (config.actions) {
      case 0:
        this.Extract();
        break;
      case 1:
        this.ExtractByRules();
        break;
      default:
    }
  }