My Blog List

Thursday, January 16, 2014

POI Excel Export by using Mapping Text

Today I Thought how to easily  make Excel by java

step 1.
Using POI Open Library.

step 2. 
Simplify method.

step 3
make mapping text.

finally i made simply column mapping library using java replection ~!

below you can see what i did

- this is using POI in maven


- this foler structure


- Suposse that users are from database


- what just i shoud do is calling makeRealExcel Method





- this is mapping Object


this is mapping text


and you can see the result xls from website





If you want to use sample project, reply

No comments:

Post a Comment