Package ubic.basecode.io.reader
Class AbstractMatrixReader<M extends Matrix2D<String,String,V>,V>
java.lang.Object
ubic.basecode.io.reader.AbstractMatrixReader<M,V>
- Direct Known Subclasses:
DoubleMatrixReader
,StringMatrixReader
Abstract class representing an object that can read in a
Matrix2D
from a file.- Author:
- Paul Pavlidis
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract M
read
(InputStream stream) abstract M
abstract M
readHeader
(BufferedReader dis, int skipColumns)
-
Field Details
-
log
protected static org.slf4j.Logger log
-
-
Constructor Details
-
AbstractMatrixReader
public AbstractMatrixReader()
-
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
readHeader
- Parameters:
dis
-skipColumns
- how many data columns shoul be ignored- Returns:
- Throws:
IOException
-