Sorry if i am posting this in a wrong location ,
I am using Apache POI framework for converting an excel document to XML
i am using the following classes
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
I am getting a row value as shown below
HSSFRow row1 = spreadsheet.getRow(1);
Element revenueElement1 = document.createElement("title");
startElement.appendChild(revenueElement1);
String Value1=row1.getCell((short)1).getStringCellValue();
revenueElement1.appendChild(document.createTextNode(Value1));
But the getStringCellValue(); function is showing depreciated in eclipse .. can any one please suggest any other way to get the string value of a cell ?