1 if(row.getCol(2) != null) {
assetInfo.setProperty("" + row.getCol(2));
}
2 public void setProperty(Dictionary property) {
this.property = property;
}
set存进去的值是Dictionary类型的,我想存string类型数据,但是不能改set方法,请问要怎么做到?
1 if(row.getCol(2) != null) {
assetInfo.setProperty("" + row.getCol(2));
}
2 public void setProperty(Dictionary property) {
this.property = property;
}
set存进去的值是Dictionary类型的,我想存string类型数据,但是不能改set方法,请问要怎么做到?