Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convert LDIF file to Excel

 
praksah jai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert LDIF file to Excel sheet in java language

[ Edited to have meaningful subject line - Paul Sturrock ]
[ May 27, 2008: Message edited by: Paul Sturrock ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
LDIF is hierarchical, Excel is not.
Havning said that, maybe Texen
 
Vilmantas Baranauskas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are 2 steps:
1. Read LDIF file.
2. Write Excel file.

For the #1, you may use Netscape Directory SDK:
http://www.mozilla.org/directory/javasdk.html

I recommend to check out the latest source code from CVS and compile it. There are some fixes since the last release 4.17.

For the #2, you may use POI (http://poi.apache.org/) or write data in CSV format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic