Spring解析properties文件
spring配置文件
public class SpsProperties {public String acessBpsManagerUrl;public String acessCrmUrl;public String wrmErrorDataTemplate;public String excelTemplateFilePath;public String execelDownloadFilePath;public String siteExcelData;//站点public String BTSExcelData;//BTSpublic String mssNeExcelData;//MSS_NEpublic String mgwNeExcelData;//MGW_NEpublic String rackExcelData;//机架public String shelfExcelData;//机框public String slotExcelData; //机槽public String cardExcelData;//板卡public String portExcelData;//端口public String trunkExcelData;//中继电路需求信息public String ceResourceAllocateExcelData;//CE资源分配信息public String puyuanManagerUrl; //转向普元管理页面,页面内有Top,解决Js跨域public String getExcelTemplateFilePath() {return excelTemplateFilePath;}public void setExcelTemplateFilePath(String excelTemplateFilePath) {this.excelTemplateFilePath = excelTemplateFilePath;}public String getExecelDownloadFilePath() {return execelDownloadFilePath;}public void setExecelDownloadFilePath(String execelDownloadFilePath) {this.execelDownloadFilePath = execelDownloadFilePath;}public String getWrmErrorDataTemplate() {return wrmErrorDataTemplate;}public void setWrmErrorDataTemplate(String wrmErrorDataTemplate) {this.wrmErrorDataTemplate = wrmErrorDataTemplate;}public String getAcessCrmUrl() {return acessCrmUrl;}public void setAcessCrmUrl(String acessCrmUrl) {this.acessCrmUrl = acessCrmUrl;}public String getAcessBpsManagerUrl() {return acessBpsManagerUrl;}public void setAcessBpsManagerUrl(String acessBpsManagerUrl) {this.acessBpsManagerUrl = acessBpsManagerUrl;}public String getSiteExcelData() {return siteExcelData;}public void setSiteExcelData(String siteExcelData) {this.siteExcelData = siteExcelData;}public String getMssNeExcelData() {return mssNeExcelData;}public void setMssNeExcelData(String mssNeExcelData) {this.mssNeExcelData = mssNeExcelData;}public String getMgwNeExcelData() {return mgwNeExcelData;}public void setMgwNeExcelData(String mgwNeExcelData) {this.mgwNeExcelData = mgwNeExcelData;}public String getPuyuanManagerUrl() {return puyuanManagerUrl;}public void setPuyuanManagerUrl(String puyuanManagerUrl) {this.puyuanManagerUrl = puyuanManagerUrl;}public String getRackExcelData() {return rackExcelData;}public void setRackExcelData(String rackExcelData) {this.rackExcelData = rackExcelData;}public String getShelfExcelData() {return shelfExcelData;}public void setShelfExcelData(String shelfExcelData) {this.shelfExcelData = shelfExcelData;}public String getSlotExcelData() {return slotExcelData;}public void setSlotExcelData(String slotExcelData) {this.slotExcelData = slotExcelData;}public String getCardExcelData() {return cardExcelData;}public void setCardExcelData(String cardExcelData) {this.cardExcelData = cardExcelData;}public String getPortExcelData() {return portExcelData;}public void setPortExcelData(String portExcelData) {this.portExcelData = portExcelData;}public String getBTSExcelData() {return BTSExcelData;}public void setBTSExcelData(String bTSExcelData) {BTSExcelData = bTSExcelData;}public String getTrunkExcelData() {return trunkExcelData;}public void setTrunkExcelData(String trunkExcelData) {this.trunkExcelData = trunkExcelData;}public String getCeResourceAllocateExcelData() {return ceResourceAllocateExcelData;}public void setCeResourceAllocateExcelData(String ceResourceAllocateExcelData) {this.ceResourceAllocateExcelData = ceResourceAllocateExcelData;}}
?