Java POI (first lecture):P Oi Introduction

Source: Internet
Author: User

Apache POI is a free open source cross-platform Java Api,apache poi written in Java that provides the Java program with the ability to read and write to Microsoft Office format archives. The POI is an acronym for "Poor Obfuscation implementation", meaning "poor fuzzy implementation."

Apache POI is a Java API that creates and maintains operations for various office Open XML (OOXML) compliant and Microsoft OLE 2 composite document formats (OLE2). You can use Java to read and create and modify MS Excel files. Also, you can use Java to read and create MS Word and mspowerpoint files. Apache POI provides Java operations for Excel Solutions (for excel97-2008).

The list of this API component is as follows.

  • Poifs (poor obfuscation technology for file systems): This component is a fundamental factor for all other POI components. It is used to explicitly read different files.

  • HSSF (horrible spreadsheet format): It is used to read and write the XLS format of the Ms-excel file.

  • XSSF (XML format): It is used for ms-excel in the xlsx file format.

  • HPSF (horrible property formatting): It is used to extract Ms-office file property settings.

  • HWPF (horrible word processor format)  :   It is a file that is used to read and write Ms-word document extensions. Span style= "line-height:0px;" >

  • XWPF (XML word Processor format): It is a file used to read and write Ms-word docx extensions.

  • HSLF (Scary Slide layout format): It is used to read, create, and edit PowerPoint presentations.

  • HDGF (Scary Chart format): It contains classes and methods for Ms-visio binary files.

  • HPBF (horrible publisher format): It is used to read and write Ms-publisher files.


Before applying, the third-party jar is certainly necessary, but the POI provides a lot of jars, not all the jars need to be downloaded, ask the students to implement the following document format to download:

XLS:Poi-version-yyyymmdd.jar

Xlsx:poi-ooxml-version-yyyymmdd.jar.

Word, ppt, Viso, Outlook:poi-scratchpad-version-yyyymmdd.jar.


:http://poi.apache.org/download.html




This article is from the "attack on the Program Ape" blog, please be sure to keep this source http://zangyanan.blog.51cto.com/11610700/1836388

Java POI (first lecture):P Oi Introduction

Related Article

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.