Hi,

I have an error to read a xlsx file.

with xls file, it's work perfectly.

this is my code for xls file (work):
arquivoExcel = new POIFSFileSystem( new BufferedInputStream( new
FileInputStream(getArquivo())));
planilha =  new HSSFWorkbook(arquivoExcel);

this is code for xlsx (not works):

InputStream is = new FileInputStream(getArquivo());
Workbook planilhaXlsx = new XSSFWorkbook(is);


I try to use "POIFSFileSystem", but, its don't work too.



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

Reply via email to