public class YmlResourceReader<T>
extends java.lang.Object
implements util.spring.io.ResourceReader<T>
T
from its
YAML representation.Constructor and Description |
---|
YmlResourceReader(java.lang.Class<T> configItemType)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<T> |
convert(java.io.InputStream data) |
public YmlResourceReader(java.lang.Class<T> configItemType)
configItemType
- the type of the configuration item to read.java.lang.NullPointerException
- if the argument is null
.