- 授权协议: MIT
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/chyxion/table-to-xls
- 软件文档: http://git.oschina.net/chyxion/table-to-xls
软件介绍
Java实现,HTML table转换为Excel,支持大部分样式,欢迎提出意见或者建议,后续可能,只是说可能会增加外部样式支持。
有图有真相:
转换结果:
代码托管在 http://git.oschina.net/chyxion/table-to-xls
欢迎捧场,拍砖。
使用方式:
1、添加Maven依赖
<dependency> <groupId>me.chyxion</groupId> <artifactId>table-to-xls</artifactId> <version>0.0.1-RELEASE</version> </dependency>
2、使用
StringBuilder html = new StringBuilder();
Scanner s = new Scanner(getClass().getResourceAsStream("/sample.html"), "utf-8");
while (s.hasNext()) {
html.append(s.nextLine());
}
s.close();
FileOutputStream fout = new FileOutputStream("data.xls");
fout.write(TableToXls.process(html));
fout.close();
好了,大功告成。
Spring Cloud微服务实战
翟永超 / 电子工业出版社 / 2017-5 / 89
《Spring Cloud微服务实战》从时下流行的微服务架构概念出发,详细介绍了Spring Cloud针对微服务架构中几大核心要素的解决方案和基础组件。对于各个组件的介绍,《Spring Cloud微服务实战》主要以示例与源码结合的方式来帮助读者更好地理解这些组件的使用方法以及运行原理。同时,在介绍的过程中,还包含了作者在实践中所遇到的一些问题和解决思路,可供读者在实践中作为参考。 《Sp......一起来看看 《Spring Cloud微服务实战》 这本书的介绍吧!
