/// <summary> /// 输出Java格式的文件夹 /// </summary> /// <param name="current"></param> /// <param name="fileName"></param> public static void ResponseByJavaDir(CreateTemplate current, CreateTemplate template, string fileName) { string path = template.OutputDirectory; path += System.IO.Path.DirectorySeparatorChar; path += fileName; path += ".java"; template.RenderToFile(path, true); Debug.WriteLine("正在输出:" + path); // current.Response.WriteLine(path); }
/// <summary> /// 输出Java格式的文件夹 /// </summary> /// <param name="current"></param> /// <param name="fileName"></param> public static void ResponseByJavaDir(CreateTemplate current,CreateTemplate template, string fileName) { string path = template.OutputDirectory; path += System.IO.Path.DirectorySeparatorChar; path += fileName; path += ".java"; template.RenderToFile(path, true); Debug.WriteLine("正在输出:"+path); // current.Response.WriteLine(path); }