On Friday 02 May 2008 20:56:02 Nick Burch wrote: > If you wanted to set all of those cells to hold the value 42.0, you'd do: > > row.getCell(0).setCellValue(42.0) > row.getCell(1).setCellValue(42.0) > row.getCell(2).setCellValue(42.0) > row.createCell(3).setCellValue(42.0) > row.getCell(4).setCellValue(42.0) > > So a blank cell really is different from a null cell, as you can just > write straight into a blank cell, while a null cell needs to be created > first
This is still exposing the underlying details if you ask me. In an ideal world, getCell(int) would, for a null cell, either create the cell for us, or return something with the same interface which creates the real thing if you set something on it. Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
