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
- InputStreamIOException
public Map<String,String> read(InputStream stream, boolean hasHeader) throws IOException
stream
- InputStreamhasHeader
- boolean if a one-line header is present.IOException
public Map<String,String> read(String filename) throws IOException
filename
- StringIOException
public 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.IOException
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.