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

📄 readadder.java

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JAVA
字号:
package net.aetherial.gis.jiaotongbu.outputJTB.txtOutput.module.excel;

import jxl.Sheet;
import net.aetherial.gis.jiaotongbu.output.publicuse.Item;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class ReadAdder extends ReadRecord{
  public ReadAdder(Sheet sheet) {
    super(sheet);
    /**
     * 乡镇的数据起点行为第4行.
     */
    this.baseRow = Property.t7_Adder_Base_Row;
    this.setRow(0);
  }

  /**
     * 取 @Adder 填表人 的值
     */
    public String getAdder(){
        return rowData[0].getContents().replaceAll("\\r","").replaceAll("\\n","");
    }

    /**
     * 取 @AdderPhone 填表人电话 的值
     */
    public String getAdderPhone(){
        return rowData[1].getContents().replaceAll("\\r","").replaceAll("\\n","");
    }

    /**
     * 取 @Asses 审核人 的值
     */
    public String getAsses(){
        return rowData[2].getContents().replaceAll("\\r","").replaceAll("\n","");
    }

    /**
     * 取 @AssesPhone 审核人电话 的值
     */
    public String getAssesPhone(){
        return rowData[3].getContents().replaceAll("\\r","").replaceAll("\\n","");
    }

    /**
     * 取 @Dept 填报单位 的值
     */
    public String getDept(){
      if("所有县区".equals(Item.xianName)){
        return Item.shiName + "交通局";
      }
      return Item.xianName + "交通局";
//        return rowData[5].getContents().replaceAll("\r","").replaceAll("\n","");
    }

    /**
     * 取 @DeptPrin 填报单位负责人 的值
     */
    public String getDeptPrin(){
        return rowData[6].getContents().replaceAll("\\r","").replaceAll("\\n","");
    }

}

⌨️ 快捷键说明

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