You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Chris <ch...@yahoo.fr> on 2010/01/06 11:16:51 UTC
Busy Developers' Guide to HSSF and XSSF Features poi.xssf.usermodel
Hello,
It's a good idea : Busy Developers' Guide to HSSF and XSSF Features
But, the first examples are wrong :
Because you can't declare a new Workbook with incompatible types
HSSFWorkbook nor XSSFWorkbook()
Your example : Workbook wb = new HSSFWorkbook();
Another ex : HSSFWorkbook wb = new HSSFWorkbook();
Your example : Workbook wb = new XSSFWorkbook();
Another ex : XSSFWorkbook wb = new XSSFWorkbook();
---------------------------------------------------------
Those are differents...
poi.hssf.model.Workbook
poi.hssf.usermodel.HSSFWorkbook
poi.xssf.usermodel.XSSFWorkbook
---------------------------------------------------------
Regards
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Busy Developers' Guide to HSSF and XSSF Features poi.xssf.usermodel
Posted by Nick Burch <ni...@alfresco.com>.
On Wed, 6 Jan 2010, Chris wrote:
> Those are differents...
> poi.hssf.model.Workbook
> poi.hssf.usermodel.HSSFWorkbook
> poi.xssf.usermodel.XSSFWorkbook
It's org.apache.poi.ss.usermodel.Workbook that you'll be wanting. The one
in model has recently been renamed to help prevent people making this
mistake
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org