1.选中要生成文档的类或者项目→File→Export→Java→Javadoc. 2.在Javadoc command中选择JDK下对应的javadoc.exe:Select types for which Javadoc will be generated中为刚选择要生成doc的类或者项目,可以在这里修改:在Destination中为文档导出的路径. 3.在VM options中输入“-encoding utf-8 -charset utf-8”命令,设置编码格式,防止导出的文档出现乱码.…
/// <summary> /// 提供将泛型集合数据导出Excel文档. /// </summary> /// <typeparam name="T"></typeparam> public class ExcelResult<T> : ActionResult where T : new() { public ExcelResult(IList<T> entity, string fileName, bool…