Code example for PropertyResourceBundle

0
		return messages;
	} 
 
	private ResourceBundle getResourceBundle() {
		try { 
			PropertyResourceBundle rb = new PropertyResourceBundle(
					new InputStreamReader(this.getClass().getResourceAsStream(
							"/cmfaur/CmfaurMessages.properties"), "UTF-8")); 
			return rb;
		} catch (Exception e) {
			throw new RuntimeException(e);
		} 
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java