Giter Club home page Giter Club logo

poi's Introduction

Java POI 导入 导出 EXCEL

License PRs Welcome GitHub stars GitHub forks

Runtime Environment

  • Java version: 1.6.0_33
  • Eclipse Java EE IDE for Web Developers Version: Luna Service Release 1 (4.4.1)
  • Text file encoding: UTF-8
  • Server version: Apache Tomcat/6.0.41
  • Git version: 1.7.9.5

Java Web

  • 将源代码导入eclipse中
  • 部署项目,启动tomcat服务器
  • web页面具体路径:http://localhost:8080/poi
  • 点击Read excel 2003 or 2007,可以读取2003或2007版Excel
  • 点击Export excel 2003,可以导出Excel 2003版
  • 点击Export excel 2007,可以导出Excel 2007版
  • 点击Export excel by templates,replace a cell,读取模版replaceTemplate.xls,替换单元格内容后导出Excel
  • 点击Export excel by templates,insert a table,读取模版template.xls,插入表格后导出Excel

Java Application

以下java类可直接运行使用

  • Read excel 2003 or 2007,对应ReadExcel.java
  • Export excel 2003,对应TestExportExcel.java
  • Export excel 2007,对应TestExportExcel2007.java
  • Export excel by templates,replace a cell,对应TestExcelReplace.java
  • Export excel by templates,insert a table,对应TestTemplate.java

Remarks

例子代码比较简单,仅供参考……

Links

Copyright

Copyright 2014-2017 evangel_z.

poi's People

Contributors

t5750 avatar

Watchers

James Cloos avatar samwang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.