免得自己又忘记了,这里记一下。
String[] Extract1DListFromMem(String filePath,int sheetIndex,String ColNameInExcel)
throws Exception
{
//这里ignore若干条代码
List<String> listClass = new ArrayList<String>();
//这里ignore若干条代码
return listClass.toArray(new String[list.size()]);
}