public class CSVReader extends InputStreamReader
| Constructor and Description |
|---|
CSVReader(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
String |
cell(String name) |
protected static String |
getColumn(String[] titles,
String[] values,
String column) |
boolean |
has(String name) |
boolean |
line() |
protected boolean |
parseBoolean(String column) |
String[] |
parseLine()
Split one line in a CSV file into its rows.
|
void |
readHeaders() |
close, getEncoding, read, read, readypublic CSVReader(InputStream in) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void readHeaders() throws IOException, FHIRException
IOExceptionFHIRExceptionpublic boolean line() throws IOException, FHIRException
IOExceptionFHIRExceptionprotected boolean parseBoolean(String column)
public String[] parseLine() throws IOException, FHIRException
IOExceptionFHIRExceptionCopyright © 2014–2019 University Health Network. All rights reserved.