jxls转html代码,JXLS

本文介绍了如何将Jxls库添加到Maven项目中,通过在构建配置文件中指定依赖来引入Jxls核心模块。Jxls库可在Central Maven仓库找到。此外,还详细说明了根据需求选择Apache POI或Java Excel API作为转换器引擎的依赖。添加相应的Maven依赖后,即可在项目中执行Java到Excel的数据操作。
摘要由CSDN通过智能技术生成

Adding Jxls libraries to the project

The easiest way to add Jxls libraries to your project is to use Maven and specify the required libraries in your project build configuration file.

Jxls jars are available in the Central Maven repository.

We need to add the following dependency to core Jxls module

org.jxls

jxls

2.10.0

Alternatively you can download Jxls distribution from the Sourceforge site and use the jars from the distribution.

Besides the dependency to core Jxls module we need to add a dependency to an implementation of Jxls transformer engine which will execute all the underlying Java to Excel manipulations.

As it is explained in Transformers section (see Main Concepts)) Jxls core module does not depend on any specific Java-Excel library and works with Excel exclusively through a predefined interface. Currently Jxls supplies two implementations of this interface in separate modules based on the well-known Apache POI and Java Excel API libraries.

To use Apache POI API based transformer implementation add the following dependency

org.jxls

jxls-poi

2.10.0

To use Java Excel API based transformer implementation add the following dependency

org.jxls

jxls-jexcel

${jxlsJexcelVersion}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值