In my Spring MVC application, I want to read ALL key/values from a specify properties file. I am including the properties file to my java class by
@PropertySource("classpath:user-form-validation-configuration.properties")
and can read a one key at a time
@Autowired
Environment env;
and env.getProperty("userIdEmail")
Please help me how to get all key/value as a map
Thanks Manu