日期:2014-05-20 浏览次数:20963 次
错误码 描述 异常原因 解决办法 490080016 对用户名和密码加密时出错 对用户名和密码加密时出错 加密用户名和密码时出错 490080017 域已经存在 域已经被接入 设备不同的域名或者接入不同的域 490080018 设备已经被接入 这个设备已经被接入 490080019 重复浮动IP、主机IP和备机IP重复 设置不同的浮动IP、主机IP和备机IP
490080016_desc = 对用户名和密码加密时出错。 490080016_detail = 对用户名和密码加密时出错。 490080016_reason = 无法对用户名和密码进行加密。 490080016_advice = 加密用户名和密码时出错。
FileInputStream fis = null;
try {
fis = new FileInputStream(filename) ;
POIFSFileSystem fs = new POIFSFileSystem(fis);
if(fs!=null){
list = new ArrayList<CpVehicleOnline>() ;
HSSFWorkbook wb = new HSSFWorkbook(fs);
for (int k = 0; k < wb.getNumberOfSheets(); k++) {
HSSFSheet sheet = wb.getSheetAt(k);
int rows = sheet.getPhysicalNumberOfRows();
for (int r = 1; r < rows; r++) {
HSSFRow row = sheet.getRow(r);
if (row == null) {
continue;
}
int cells = row.getPhysicalNumberOfCells();
for (int c = 0; c < cells; c++) {
HSSFCell cell = row.getCell(c);
if (cell == null) {
continue;
}
switch (c) {
case 0:
String x = "" ;
switch (cell.getCellType()) {
case HSSFCell.CELL_TYPE_STRING:
x=cell.getStringCellValue().trim();
break;
default:
break;
}
break;
case 1:
break;
break;
}
}
}
}
}
} catch (Exception e) {
log.error("", e);
}finally{
if(fis!=null){
try {
fis.close();
} catch (Exception e2) {
}
}
}