Class PayloadReaderImpl
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.payload.PayloadReaderImpl
-
- All Implemented Interfaces:
PayloadReader
public class PayloadReaderImpl extends java.lang.Object implements PayloadReader
Strategy for reading a payload object with optional compression
-
-
Constructor Summary
Constructors Constructor Description PayloadReaderImpl(boolean uncompress, java.util.List<java.lang.String> elements)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Resource>
Tread(java.lang.Class<T> resourceType, java.io.InputStream inputStream)
Read the resource of type T from theInputStream
.
-
-
-
Method Detail
-
read
public <T extends Resource> T read(java.lang.Class<T> resourceType, java.io.InputStream inputStream) throws FHIRPersistenceException
Description copied from interface:PayloadReader
Read the resource of type T from theInputStream
.- Specified by:
read
in interfacePayloadReader
- Returns:
- Throws:
FHIRPersistenceException
-
-