Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Extracting data from excel file through java

Reply
Thread Tools

Extracting data from excel file through java

 
 
ruds
Guest
Posts: n/a
 
      06-01-2008
I want to extract data from excel file through Java,based on some
condition.
I have searched on google and got POI but, cant I do it just using
core java?
I tried reading the excel file and got symbols...
wht should I do?
 
Reply With Quote
 
 
 
 
Daniele Futtorovic
Guest
Posts: n/a
 
      06-01-2008
On 2008-06-01 12:52 +0100, ruds allegedly wrote:
> I want to extract data from excel file through Java,based on some
> condition. I have searched on google and got POI but, cant I do it
> just using core java?


Of course you can. Just like any other specific library does. The
question is: do you really want go through the hassle?

> I tried reading the excel file and got symbols... wht should I do?


Interprete those symbols fittingly.


--
DF.
to reply privately, change the top-level domain
in the FROM address from "invalid" to "net"
 
Reply With Quote
 
 
 
 
Etilworg
Guest
Posts: n/a
 
      06-01-2008
> Can u tell me how to interpre some like this?

Thats is the work that POI do.

Anyway , if you want make you own implementation, read this

http://sc.openoffice.org/excelfileformat.pdf

Good Luck
Pedro Arana
 
Reply With Quote
 
maksimov.andrei
Guest
Posts: n/a
 
      06-02-2008
On Jun 1, 2:52 pm, ruds <rudra...@gmail.com> wrote:
> I want to extract data from excel file through Java,based on some
> condition.
> I have searched on google and got POI but, cant I do it just using
> core java?
> I tried reading the excel file and got symbols...
> wht should I do?


There are several ways to do what you want:
1) Write your own library (may be pure java or mix some other software
with with JNA) - long way...
2) Use POI (half year ago there were no good docs and examples) -
excel files before MS Office XP are good supported
3) Use OpenOffice.org SDK - the best way to work with Microsoft Office
files (PowerPoint, Excel, Word..). Fully documented SDK and alot of
examples. You may use OOo server to work with office files throught
network.

Some other libs and projects are not tested by me. More over 90% of
them are commercial.

Hope, I helped you..
 
Reply With Quote
 
ttrifonov
Guest
Posts: n/a
 
      06-02-2008
Hi,

you can access MS Excel data through ODBC... There is jdbc-odbc driver
in every JDK.

Best regards,
Tanyu

On 1 àÎÉ, 13:52, ruds <rudra...@gmail.com> wrote:
> I want to extract data from excel file through Java,based on some
> condition.
> I have searched on google and got POI but, cant I do it just using
> core java?
> I tried reading the excel file and got symbols...
> wht should I do?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: extracting data from Excel GIMME XML 1 12-27-2008 09:59 PM
How to return an excel file or excel data from ASP.NET Anonieko ASP .Net 2 02-12-2008 07:03 PM
Problem with Excel reports ::::Excel 2003 Migration To Excel 2007 =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?= ASP .Net 15 10-24-2007 01:34 PM
asp.net extracting excel charts from an Excel file Robbe Morris [C# MVP] ASP .Net 0 12-15-2006 03:03 AM
ExtenXLS loads data into Excel 2002 file but damages the Excel file. kp2900@gmail.com Java 1 11-21-2006 05:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57