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