On Sun, 27 Mar 2011, Nuwan Arambage wrote:
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);
You probably shouldn't be using BiffViewer from within your program. It's normally used from the command line when diagnosing issues.
I'm grateful if someone lead me to right direction to solve this issue.If this is not a right way(best practice).
You probably want to read http://poi.apache.org/spreadsheet/index.html (especially the quick guide, and possibly also the howto) Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
