JAVA Excel Import and Export Methods
Many import/export functions are used in Java Web projects.
Common export Methods: jxl and poi
The following describes the performance of the two methods.
JXL. jar http://www.andykhan.com/jexcelapi/download.html
Advantages:
Jxl provides excellent support for Chinese characters and is easy to operate. The method is well-known.
Jxl is a pure Java API that performs perfectly across platforms. The code can run on windows or Linux without having to be rewritten.
All versions of Excel-are supported.
Generate standard Excel 2000 format
Supports font, number, and date operations
Ability to modify cell attributes
Images and charts are supported, but this API has limited support for graphics and charts and only recognizes PNG formats.
Disadvantages:
Low efficiency, improved image support, and less powerful format support than POI
POI, http://www.apache.org/dyn/closer.cgi/jakarta/poi/ download poi package
Disadvantages:
Immature, the Code cannot be cross-platform. It seems that many colleagues have encountered depressing bugs in their projects.