Hi all,

Today I was trying to read a excel file to exercising POI API.At the
end I got a below exception.
I was trying to figure out what went wrong.Still I couldn't resolve
it. I thought it was about file name conflict.

org.apache.poi.hssf.dev.BiffViewer$CommandParseException: Biff viewer
needs a filename
        at 
org.apache.poi.hssf.dev.BiffViewer$CommandArgs.parse(BiffViewer.java:332)
        at org.apache.poi.hssf.dev.BiffViewer.main(BiffViewer.java:385)

In my code I have read the excel file like this way.It is mentioned below.

String fileName = "C:\\Users\\Nuwan
Arambage\\Desktop\\HelloWorld\\Eclipse\\ApachePOI\\src\\com\\nuwan\\stockmarket\\data.xls";
File file = new File(fileName);

I'm grateful if someone lead me to right direction to solve this
issue.If this is not a right way(best practice).I'm looking forward to
get a feedback from you guys.


Thanking in advance,
Nuwan Arambage

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to