public class StringMatrixReader extends AbstractMatrixReader<StringMatrix<String,String>,String>
basecode.dataStructure.matrix.StringMatrix
log
Constructor and Description |
---|
StringMatrixReader() |
Modifier and Type | Method and Description |
---|---|
StringMatrix<String,String> |
read(InputStream stream) |
StringMatrix<String,String> |
read(InputStream stream,
int maxRows,
int numColumnsToSkip) |
StringMatrix<String,String> |
read(String filename) |
StringMatrix<String,String> |
read(String filename,
int maxRows) |
StringMatrix<String,String> |
read(String filename,
int maxRows,
int numColumnsToSkip) |
readHeader
public StringMatrix<String,String> read(InputStream stream) throws IOException
read
in class AbstractMatrixReader<StringMatrix<String,String>,String>
IOException
public StringMatrix<String,String> read(InputStream stream, int maxRows, int numColumnsToSkip) throws IOException
stream
- maxRows
- numColumnsToSkip
- How many data columns to skip. 0 or -1 means none; 1 means one column will be skipped,
etc.IOException
public StringMatrix<String,String> read(String filename) throws IOException
read
in class AbstractMatrixReader<StringMatrix<String,String>,String>
IOException
public StringMatrix<String,String> read(String filename, int maxRows) throws IOException
read
in class AbstractMatrixReader<StringMatrix<String,String>,String>
IOException
public StringMatrix<String,String> read(String filename, int maxRows, int numColumnsToSkip) throws IOException
filename
- maxRows
- numColumnsToSkip
- IOException
Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.