aspose file tools*
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
Author

Convert LDIF file to Excel

praksah jai
Greenhorn

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
Rancher

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:
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.


Author of <a href="http://www.newsinjector.com" target="_blank" rel="nofollow">NewsInjector</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert LDIF file to Excel