Package io.micronaut.context.env
Interface PropertySourceReader
- All Known Subinterfaces:
PropertySourceLoader
- All Known Implementing Classes:
AbstractPropertySourceLoader
,CloudFoundryVcapApplicationPropertySourceLoader
,CloudFoundryVcapServicesPropertySourceLoader
,EnvJsonPropertySourceLoader
,JsonPropertySourceLoader
,JsonPropertySourceLoader
,PropertiesPropertySourceLoader
,YamlPropertySourceLoader
public interface PropertySourceReader
Interface for classes that read and process properties sources.
- Since:
- 1.0
- Author:
- graemerocher
-
Method Summary
-
Method Details
-
read
Read a property source from an input stream.- Parameters:
name
- The name of the property sourceinput
- The bytes- Returns:
- A map of string to values
- Throws:
IOException
- if there is an error processing the property source
-
getExtensions
- Returns:
- The extensions this reader supports.
-
read
Read a property source from bytes.- Parameters:
name
- The name of the property sourcebytes
- The bytes- Returns:
- A map of string to values
-