Code example for PropertyResourceBundle

0
	public PropertyResourceBundle loadPropertiesResourceBundle(String filepath) {
		PropertyResourceBundle propertyResourceBundle = null;
		FileInputStream fis = null;
		try { 
			fis = new FileInputStream(filepath);
			propertyResourceBundle = new PropertyResourceBundle(fis);
		} catch (FileNotFoundException e) {
			// do not log 
		} catch (IOException e) {
			// do not log 
		} finally { 
			if (fis != null) {
				try { 
					fis.close();
				} catch (IOException e) {
					// do not log 
				} 
			} 
		} 
		return propertyResourceBundle;
Contextual code suggestions in your IDE  Get Codota for Java