A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
Convert LDIF file to Excel
praksah jai
Greenhorn
Joined: May 27, 2008
Posts: 1
posted
May 27, 2008 01:21:00
0
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
I like...
posted
May 27, 2008 01:26:00
0
LDIF is hierarchical, Excel is not.
Havning said that, maybe
Texen
Vilmantas Baranauskas
Ranch Hand
Joined: Dec 20, 2006
Posts: 89
posted
May 27, 2008 08:18:00
0
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
Similar Threads
Java/XML developer needed - Part time
Hibernate: Two SessionFactories per cfg file
Exception when having different class and table name
Problem in retriveing the values from database using HQL
Jsp to Excel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter