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

📄 propertiesfiles.java

📁 java实现数据库数据浏览工具源码
💻 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;
		}
	}

}

⌨️ 快捷键说明

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