I think you can check for HSSFCell.CELL_TYPE_BLANK 
or you can check for both null and HSSFCell.CELL_TYPE_BLANK

----- Original Message -----
From: "som kolli" <[EMAIL PROTECTED]>
Date: Friday, November 21, 2003 5:55 am
Subject: trapping error message - urgent

> Hi all
> 
> Iam using POI for reading the excel sheet ..
> 
> I have to do null validations for the cells in my java code...
> 
> If I delete the content of a cell from the excel sheet, when POI 
> tries to
> read the cell using cell.getStringValue(); what does it return ; 
> null or
> ""... how to put the condition for my validation.... pls help me out.
> 
> thanks
> Som
> 
> 
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to