loadfileoption.java

来自「手写的连接池类,实现了数据库的连接池,提高了操作数据库的效率.」· Java 代码 · 共 38 行

JAVA
38
字号
package com.cn.res;

/*
 * Created on 2005-5-26
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

import java.io.IOException;

/**
 * @author 万江
 *
 */
public class LoadFileOption extends ReadProps{	 
	/**
	 * 
	 */
	public LoadFileOption() {
		super();
	}
	
	
	public String getPropsValue(String propsName){
      try {
		return
		(
		this.getPropsValue(this.getProps("fish.properties"),propsName)
		);
	  } catch (IOException e) {
		e.printStackTrace();
		return null;	
	 }
    }	
}

⌨️ 快捷键说明

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