Thanks to visit codestin.com
Credit goes to github.com

Skip to content

muhammetgumus/jexcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JEXCEL

This project prevents the repetitive use of similar excel export code blocks in different model classes. In this way, developers will get rid of unnecessary and repetitive code blocks and have a cleaner code.

Note: The Employee and Student models added for testing reason. You could delete it as you want

Using

  • Import @Column annotation to your model class
  • Then annotate the fields that you want to be on exported file
  • Set convenient column name and int based column number of the annotation
    • Be careful while setting column number otherwise given same indexes could overwrite each others
  • Inside the your code call write(Collection< T > collection) method of the ExportWriter class
  • As a function parameter you can pass any collection like List, Set, Queue etc.
  • Finally exported excel file will be locate under the your project path.

Examples of different collection types

List

Set

Queue

About

Java Custom Annotation Applied Excel Exporter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages