Package org.hl7.fhir.utilities
Class CSVProcessor
java.lang.Object
org.hl7.fhir.utilities.CSVProcessor
A file processor that reads a templated source file with markers ([%columnname%]), reads data
from a CSV file and inserts data from that CSV file into those markers. Supports loops to
interate through the CSV file.
- Author:
- Ewout
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess()voidsetData(InputStream data) voidsetOutput(OutputStream out) voidsetSource(InputStream source)
-
Constructor Details
-
CSVProcessor
public CSVProcessor()
-
-
Method Details
-
setSource
-
setData
- Throws:
FHIRExceptionIOException
-
setOutput
- Throws:
UnsupportedEncodingException
-
process
- Throws:
IOExceptionFHIRException
-