java.lang.Object | |
↳ | org.springframework.core.io.support.PropertiesLoaderUtils |
Convenient utility methods for loading of java.util.Properties
,
performing standard handling of input streams.
For more configurable properties loading, including the option of a customized encoding, consider using the PropertiesLoaderSupport class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fill the given properties from the given resource.
| |||||||||||
Load all properties from the given class path resource,
using the given class loader.
| |||||||||||
Load all properties from the given class path resource,
using the default class loader.
| |||||||||||
Load properties from the given resource.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Fill the given properties from the given resource.
props | the Properties instance to fill |
---|---|
resource | the resource to load from |
IOException | if loading failed |
---|
Load all properties from the given class path resource, using the given class loader.
Merges properties if more than one resource of the same name found in the class path.
resourceName | the name of the class path resource |
---|---|
classLoader | the ClassLoader to use for loading
(or null to use the default class loader) |
IOException | if loading failed |
---|
Load all properties from the given class path resource, using the default class loader.
Merges properties if more than one resource of the same name found in the class path.
resourceName | the name of the class path resource |
---|
IOException | if loading failed |
---|
Load properties from the given resource.
resource | the resource to load from |
---|
IOException | if loading failed |
---|