JAVA Excel Import and Export Methods

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.