zerouwar / octopus Goto Github PK
View Code? Open in Web Editor NEWA simple excel import and export tool(java excel导入和导出工具)
License: MIT License
A simple excel import and export tool(java excel导入和导出工具)
License: MIT License
FYI.
Do you have a hook to do it?
options
后该列必须不为空,个人认为该列是否为空应该由 is-blankable
判断。不然就无法处理该列选项可以为空的情况了。相关代码段:String
进行传参,大问题可能没有,我看过一些 excel 导入导出框架也是这么做的。不过在应对一些比较大的数,或者长小数时会出现科学计数法导致无法转换的问题(可以通过格式化解决)。Octopus/src/main/java/cn/chenhuanming/octopus/util/CellUtils.java
Lines 63 to 80 in 91ae6d8
Formatter
没有做判空处理,也就是说空的数据转换为 Integer
Long
之类的会报错。这个我也未作测试,存疑。以上问题麻烦作者看下呐。这个框架的验证功能很好用,要是再加上表头验证的功能就好了。看了很多 excel 导入导出框架的源码,就 Octopus 的代码读着最舒适。
hello,请问项目有没有对性能做测试,能不能支持百万量级,30列的数据导出
首先,非常感谢作者这个工具, 实在是非常实用简洁,期待你的其他项目!!嘿嘿嘿!!!
public class Applicants {
private int id;
private String name;
private List jobs;
private Date entryDate;
private boolean working = true;
}
大佬 能不能支持属性是集合的导出
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.