⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readrow.java

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JAVA
字号:
package net.aetherial.gis.output.toTable.readglj;

import jxl.Cell;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class ReadRow {
  Cell[] rowData = null;
  public ReadRow(Cell[] rowData) {
    this.rowData = rowData;
  }
  /**
   *
   */
  public LdRow getLdRow(){
    LdRow ld = new LdRow();
    if (this.rowData != null) {
      String[] temp = new String[20];
      for (int i = 0; i < temp.length; i++) {
        try {
          temp[i] = this.rowData[i].getContents().trim();
        }
        catch (Exception ex) {
          temp[i] = "";
        }
      }
      ld.setData(temp);
    }
    return ld;
  }
  public static void main(String args[]){
    String n1 = "ld.setLxNumber(this.rowData[",n2 = "].getContents().trim());";
    for (int i = 0; i < 40; i++) {
      System.out.println("      " + n1 + i + n2);
    }
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -