Exemple #1
0
  /**
   * @function 快3资源转换器
   * @author LuoSR
   * @param args
   * @date 2013年12月30日
   */
  public static void converter(String serverRes) {
    String xlsxFile = "docs/资源文档/" + serverRes + "/猜猜看数值.xlsx";

    String kuai3Num = "src/main/resources/json/" + serverRes + "/kuai3.json.txt";
    JsonExproter.convertToJsonFile(xlsxFile, kuai3Num, Kuai3Res.class, "猜猜看");
    String kuai3HeZhi = "src/main/resources/json/" + serverRes + "/kuai3HeZhi.json.txt";
    JsonExproter.convertToJsonFile(xlsxFile, kuai3HeZhi, Kuai3HeZhiRes.class, "和值");
  }
Exemple #2
0
  /** 副本资源转换器 */
  public static void converter(String serverRes) {
    String xlsxFile = "docs/资源文档/" + serverRes + "/副本.xlsx";

    String transcript = "src/main/resources/json/" + serverRes + "/Raids.json.txt";
    JsonExproter.convertToJsonFile(xlsxFile, transcript, RaidsInfoRes.class, "副本");

    String trials = "src/main/resources/json/" + serverRes + "/Trials.json.txt";
    JsonExproter.convertToJsonFile(xlsxFile, trials, TrialsInfoRes.class, "试炼");
  }