ExcelImport
This commit is contained in:
@@ -5,6 +5,7 @@ import java.text.SimpleDateFormat;
|
||||
|
||||
import org.apache.poi.ss.usermodel.Cell;
|
||||
import org.apache.poi.ss.usermodel.CellType;
|
||||
import org.apache.poi.ss.usermodel.Row;
|
||||
|
||||
public class ExcelUtils {
|
||||
|
||||
@@ -32,4 +33,8 @@ public class ExcelUtils {
|
||||
return String.valueOf(cell.getStringCellValue().trim());
|
||||
}
|
||||
}
|
||||
|
||||
public static String getValue(Row row,int i) {
|
||||
return getValue(row.getCell(i));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user