2024年4月7日发(作者:)
("【"+(i).toString()+"】 ");
}
}
catch (Exception e)
{
(e);
}
}
/**
* 由指定的Sheet导出至List
*
* @param workbook
* @param sheetNum
* @return
* @throws IOException
*/
public static List
int sheetNum)
{
Sheet sheet = etAt(sheetNum);
// 解析公式结果
FormulaEvaluator evaluator = ationHelper()
.createFormulaEvaluator();
List
int minRowIx = stRowNum();
int maxRowIx = tRowNum();
for (int rowIx = minRowIx; rowIx <= maxRowIx; rowIx++)
{
Row row = (rowIx);
StringBuilder sb = new StringBuilder();
short minColIx = stCellNum();
short maxColIx = tCellNum();
for (short colIx = minColIx; colIx <= maxColIx; colIx++)
{
Cell cell = l(new Integer(colIx));


发布评论