i am trying to get cell data from my .csv file but it gets error : jxl.read.biff.BiffException: Unable to recognize OLE stream
I don\'t understand how to solve this
Save the Excel file type as Excel 97-2003 Worksheet and extension type as xls
JXL is a simple (and hence limited) API. If it says
Unable to recognize OLE stream
it is what it is. It doesn't quite understand your Excel XLS file. Have confidence that the error is legitimate. This API only supports *.xls
files; it doesn't support, for example, *.csv
or *.xlsx
files. Obviously, having the file renamed to *.xls
alone is not sufficient. It must be in Excel 97-2003 format too.
*.csv
or *.xlsx
file.*.xls
) file. This error will surely not appear again.
On the other hand, if you want to process other formats (xlsx, csv) directly, look for other tools like Apache POI.