📄 readluxian.java
字号:
package net.aetherial.gis.test.tools.bian2;
import net.aetherial.gis.jiaotongbu.outputJTB.txtOutput.module.excel.ReadRecord;
import net.aetherial.gis.publicuse.excel.ReadSheet;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class ReadLuxian extends ReadRecord{
public ReadLuxian(String bianhaoFile) {
super(null);
ReadSheet rs = new ReadSheet();
rs.setSheetFile(bianhaoFile,0);
// rs.setSheetFile(bianhaoFile,"市县乡镇建制村");
// si.setQiaoliangFangxiang(fangxiangFile);
this.setSheet(rs.getMySheet());
this.setRow(2);
}
public void read(){
LuxianRow record = null;
for (int i = 0;(!this.isEmptyrow()) && i < 60000; i++) {
if (this.rowData != null) {
record = new LuxianRow();
record.setValue(this.rowData);
Permanence.tongdaluxian.add(record);
}
this.moveNext();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -