public interface PropertySourceReader
Modifier and Type | Method and Description |
---|---|
default java.util.Set<java.lang.String> |
getExtensions() |
default java.util.Map<java.lang.String,java.lang.Object> |
read(java.lang.String name,
byte[] bytes)
Read a property source from bytes.
|
java.util.Map<java.lang.String,java.lang.Object> |
read(java.lang.String name,
java.io.InputStream input)
Read a property source from an input stream.
|
java.util.Map<java.lang.String,java.lang.Object> read(java.lang.String name, java.io.InputStream input) throws java.io.IOException
name
- The name of the property sourceinput
- The bytesjava.io.IOException
- if there is an error processing the property sourcedefault java.util.Set<java.lang.String> getExtensions()
default java.util.Map<java.lang.String,java.lang.Object> read(java.lang.String name, byte[] bytes)
name
- The name of the property sourcebytes
- The bytes