aspose file tools
The moose likes Java in General and the fly likes Reading an XLS (Excel) file. Row by row. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Reading an XLS (Excel) file. Row by row." Watch "Reading an XLS (Excel) file. Row by row." New topic
Author

Reading an XLS (Excel) file. Row by row.

Jon Leghurts
Greenhorn

Joined: Jan 25, 2010
Posts: 1
Howdy everyone,

I need to make a program that will read XLS files in this form: (rows seperated by a ';')
(first row)
Id student name;LockerNo;Combination;Teacher
(second row)
record1
(third row)
record2

and so on...

I need to be able to read a certain file to compare with an other (specifically to check for records that are in the first but not in the second).

Unfortunately I have absolutely no idea which libraries (if any exist) to use, could anyone suggest certain API to look through to get me started?

Any help will be greatly appreciated.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35252
    
    7
What you describe looks like a CSV file, not like an XLS file (except that in CSVs, *columns* are separated by semi-colons, not *rows*).

The http://faq.javaranch.com/java/AccessingFileFormats page has links to lots of libraries that can read both CSV and XLS.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Reading an XLS (Excel) file. Row by row.
 
Similar Threads
xls file
How to identify the Microsoft office version + POI
I need to Display a File from a Network Share
Writting in an existing xls file using jxl
logging of compile time errors