I am only guessing David but the change my be the result of introducing the SS model to accomodate both the binary and OpenXML based file formats 'invisibly'. If you look at the org.apache.poi.ss.usermodel package, you will find there are classes called Workbook, Sheet, Cell, etc and these are used by those who may have to work with both types of file format and do not want to maintain two different code bases. Well, both HSSFCell and XSSFCell both implement the Cell interface and I would guess that the decision was taken to include just the single method getCell(int) in the interface and - as a result - both concrete classes because the OpenXML file format does not impose the 256 row limit on the user.
As I said, this is only a guess. Yours Mark B David Law-2 wrote: > > Could it be, the HSSFCell getCell(short cellnum) > method has been rather confusingly deprecated? > > Arguably, its laudable to "avoid sign extension", > but as there can only be 256 columns anyway, > I find it really rather misleading. > > Regards, > DaveLaw > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/HSSFCell-short-int-tp26607785p26612088.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
