public interface ResourceReader
| Modifier and Type | Interface and Description |
|---|---|
static class |
ResourceReader.Type |
| Modifier and Type | Method and Description |
|---|---|
Object |
readFrom(Resource resource,
ClassLoader classLoader)
Reads a single or
Collection of target objects from the given Resource. |
Object readFrom(Resource resource, @Nullable ClassLoader classLoader) throws Exception
Collection of target objects from the given Resource.resource - must not be null.classLoader - can be null.Collection of target objects if resource contains multiple ones of single on. Never
null.ExceptionCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.