Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Using HSSF to convert csv to Excel

Thread Tools

Using HSSF to convert csv to Excel

sue yi Chew
Posts: n/a

I'm new to using HSSF (
Right now I have a java program that generates csv files, but I want it
to generate Excel files. Is there a utility function in HSSF that can
just take as input a CSV file and delimiter, and automatically generate
the Excel? I just want something with about the same functionality as
when you import a csv file normally into Excel.

Thanks ... please let me know if it's out there ... otherwise I have to
write it prob :/

-sue yi

Reply With Quote
vineet.arora3 vineet.arora3 is offline
Junior Member
Join Date: Feb 2011
Posts: 2
I have csv files which I need to read using POI. Also, I have html file which has been opened in excel and saved as xls but when I try to read both these files, I get the below exception. Is there a programmatic way to solve this issue? Thanks in advance. Invalid header signature; read 0x200020000A00FFFE, expected 0xE11AB1A1E011CFD0
Reply With Quote

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
Advise to create regions in excel using HSSF tegueste Java 0 08-29-2009 02:59 PM
convert html to excel using hssf poi??? davisoski Java 0 08-16-2009 04:07 PM
HSSF, excel and "out of memory" tony lincoln Java 0 03-02-2004 08:24 AM
excel---HSSF---not enough memory? tony lincoln Java 0 03-01-2004 05:34 PM
HSSF and Excel Pivot Tables David W. Java 0 07-28-2003 10:02 PM