java实现数据库数据浏览工具源码
源代码在线查看: propertiesfiles.java
package jwin;
import java.io.*;
import java.util.*;
public class PropertiesFiles {
Properties prop=new Properties();
public Properties getPropertiesFile(String path){
try{
File file=new File(path);
if(file.canRead()){
FileInputStream infile=new FileInputStream(file);
prop.load(infile);
infile.close();
return prop;
}else{
System.out.println(file.getPath()+"not find file");
return null;
}
}catch(Exception e){
System.out.println("##############################IO_Exception######################");
return null;
}
}
}