poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "janarthanankesavan" <tkjanartha...@rediffmail.com>
Subject Re: RE: Problem
Date Mon, 16 Aug 2004 09:42:49 GMT
Hi Rishi,
Thanks for your swift reply.
Can you be bit elaborate?
My test code:
HSSFRow row = sheet.getRow(2);
HSSFRow row2=sheet.getRow(2);
for (int c = 1; c <= row.getLastCellNum(); c++) {

						HSSFCell cell = row.getCell((short) c);
						if( cell != null && cell.getStringCellValue() != null){
						
							Object obj =cell.getStringCellValue();
							test.add(obj);	
					
												}
				}
				
			} catch (FileNotFoundException e) {

				e.printStackTrace();
			} catch (IOException e) {

				e.printStackTrace();
			}

			return test;

		}

Reg
Jana
	
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message