• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Generating Excel file using Java POI API

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I was working on generation on excel file using POI API and written below code whic works fine:

Now i want to modify the above code in such a way that it should calls one method like generateExcel(List<Objects>, List<String>)
where List of Objects contains only headers like {"ID", "NAME", "LASTNAME","TENANT NAME", "RENT DURATION", "CONTRACT DURATION", "CITY"} and List of String contains their values for which i'm facing problem in mapping values . Can anybody help me how to achieve it. Please it is urgent if anybody can.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!