Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
CalendarDemo - Apache POI Excel File Example
What is CalendarDemo example in the Apache POI package? How to run CalendarDemo example?
✍: FYIcenter.com
CalendarDemo example in the Apache POI package is created by Yegor Kozlov.
It can be used to generate a monthly calendar with each month on a separate sheet.
CalendarDemo example uses the Common Spreadsheet Format (SS) API, which supports Excel files in both *.xls and *.xlsx formats.
Here is the command to run CalendarDemo to generate 2016 calendar in *.xls file format compatible with Microsoft Excel 97 version.
C:\fyicenter>\local\jdk-1.8.0\bin\java -cp .;C:\local\poi-3.15\poi-examples-3.15.jar; C:\local\poi-3.15\poi-3.15.jar; C:\local\poi-3.15\poi-ooxml-3.15.jar org.apache.poi.ss.examples.CalendarDemo -xls 2016
If you open the output file, calendar.xls, in Excel,
you will see a nice looking calendar as shown below:
2017-03-17, 894👍, 0💬
Popular Posts:
What Is xml-apis-ext.jar in xml-commons External 1.4.01? xml-apis-ext.jar in xml-commons External 1....
pache Derby is an open source relational database implemented entirely in Java and available under t...
What Is commons-collections4-4.2 .jar?commons-collections4-4.2 .jaris the JAR file for Apache Common...
JCIFS is an Open Source client library that implements the CIFS/SMB networking protocol in 100% Java...
Jaxen, Release 1.1.1, is an open source XPath library written in Java. It is adaptable to many diffe...