On Tue, 11 Feb 2014, alefevre wrote:
With this code :

       String path = getFilePath();
       FileInputStream fis = new FileInputStream(path);
       Workbook wbk = WorkbookFactory.create(fis);
       return wbk;

See http://poi.apache.org/spreadsheet/quick-guide.html#FileInputStream - you should be creating directly from the File, not forcing it to be buffered via an InputStream

Nick

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

Reply via email to