File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Convert LDIF file to Excel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Convert LDIF file to Excel " Watch "Convert LDIF file to Excel " New topic

Convert LDIF file to Excel

praksah jai

Joined: May 27, 2008
Posts: 1
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

Joined: Mar 06, 2001
Posts: 13459

LDIF is hierarchical, Excel is not.
Havning said that, maybe Texen
Vilmantas Baranauskas
Ranch Hand

Joined: Dec 20, 2006
Posts: 89
There are 2 steps:
1. Read LDIF file.
2. Write Excel file.

For the #1, you may use Netscape Directory SDK:

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 ( or write data in CSV format.

Author of <a href="" target="_blank" rel="nofollow">NewsInjector</a>
I agree. Here's the link:
subject: Convert LDIF file to Excel
It's not a secret anymore!