Interface PayloadReader
-
- All Known Implementing Classes:
PayloadReaderImpl
public interface PayloadReaderStrategy for reading a resource from a stream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Resource>
Tread(java.lang.Class<T> resourceType, java.io.InputStream is)Read the resource of type T from theInputStream.
-
-
-
Method Detail
-
read
<T extends Resource> T read(java.lang.Class<T> resourceType, java.io.InputStream is) throws FHIRPersistenceException
Read the resource of type T from theInputStream.- Type Parameters:
T-- Parameters:
resourceType-is-- Returns:
- Throws:
FHIRPersistenceException
-
-