Interface ResourceReader
- All Known Implementing Classes:
 Jackson2ResourceReader,UnmarshallingResourceReader
public interface ResourceReader
- Author:
 - Oliver Gierke, Christoph Strobl
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionreadFrom(Resource resource, ClassLoader classLoader) Reads a single orCollectionof target objects from the givenResource. 
- 
Method Details
- 
readFrom
Reads a single orCollectionof target objects from the givenResource.- Parameters:
 resource- must not be null.classLoader- can be null.- Returns:
 Collectionof target objects if resource contains multiple ones of single on. Never null.- Throws:
 Exception
 
 -