public class MapReader extends Object
| Constructor and Description |
|---|
MapReader() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
read(InputStream stream) |
Map<String,String> |
read(InputStream stream,
boolean hasHeader) |
Map<String,String> |
read(String filename) |
Map<String,String> |
read(String filename,
boolean hasHeader) |
public Map<String,String> read(InputStream stream) throws IOException
stream - InputStreamIOExceptionpublic Map<String,String> read(InputStream stream, boolean hasHeader) throws IOException
stream - InputStreamhasHeader - boolean if a one-line header is present.IOExceptionpublic Map<String,String> read(String filename) throws IOException
filename - StringIOExceptionpublic Map<String,String> read(String filename, boolean hasHeader) throws IOException
filename - name of the tab-delimited filehasHeader - boolean if a one-line header is present.IOExceptionCopyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.