Code example for Properties

Methods: clearload

0
		reload(new File(file));
	} 
	public void reload(File file){
		try { 
			InputStream is = new FileInputStream(file);
			prop.clear();
			prop.load(is);
			pfile = file;
			is.close();
		} catch (IOException e) {
			e.printStackTrace();
		} 
	} 
	public void reload(){ 
		this.reload(pfile);
	} 
	 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE