一行代码完成Excel读写 Sep4j

码农软件 · 软件分类 · 常用工具包 · 2019-08-15 06:27:08

软件介绍

Sep4J:  Simple Spreadsheet Processing for Java ,  通过一次静态方法调用完成 excel List之间的转换。 你不必手写任何 POI 相关代码。

已发布到 Maven 中央仓库。

基本示例

把数据写入Excel

Ssio.save(
    ImmutableMap.of("userId", "User Id", //userId是你的Javabean属性名, User Id是你的Excel的列名 
    "firstName","First Name", 
    "lastName", "Last Name"), 
    userList, spreadsheetOutputStream); 

解析 Excel

List users = Ssio.parse(
    ImmutableMap.of("User Id","userId", //User Id是你的Excel的列名,userId是你的Javabean的属性名
    "First Name","firstName",
    "Last Name","lastName"),
    spreadsheetInputStream,  User.class);

本文地址:https://www.codercto.com/soft/d/12390.html

具体数学(英文版第2版)

具体数学(英文版第2版)

[美] Ronald L. Graham、Donald E. Knuth、Oren Patashnik / 机械工业出版社 / 2002-8 / 49.00元

This book introduces the mathematics that supports advanced computer Programming and the analysis of algorithms. The primary aim of its well-known authors is to provide a solid and relevant base of ma......一起来看看 《具体数学(英文版第2版)》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具