Code example for PropertyResourceBundle

Methods: getKeys

0
		 * (non-Javadoc) 
		 *  
		 * @see java.util.ResourceBundle#getKeys() 
		 */ 
		public Enumeration<String> getKeys() {
			return bundle.getKeys();
		} 
 
		/* 
		 * (non-Javadoc) 
		 *  
		 * @see java.util.ResourceBundle#handleGetObject(java.lang.String) 
		 */ 
		protected Object handleGetObject(String key) {
			String value = (String) bundle.handleGetObject(key);
			try { 
				return new String(value.getBytes("ISO-8859-1"), "UTF-8");
			} catch (UnsupportedEncodingException e) {
				// Shouldn't fail - but should we still add logging message? 
				return null;