Indicates the name of this property source. If omitted, a name will be generated based on the underlying resource.
2
Indicates the resource location(s) of the properties file to be loaded. Examples: "classpath:/com/logicbig/app.properties" or "file:/path/to/file.xml". Wildcards (e.g. **/*.properties) are not permitted. ${...} placeholders will be resolved against any/all property sources already registered with the Environment.
3
Indicates if a failure to find the property resource should be ignored. Default is false. Should be set to true if the properties file is completely optional.
4
A specific character encoding for the given resources, e.g. "UTF-8"
5
Specifies a custom PropertySourceFactory (Strategy interface for creating resource-based PropertySource wrappers). By default DefaultPropertySourceFactory is used.