baseCode.io.reader
Class StringMatrixReader
java.lang.Object
baseCode.io.reader.AbstractNamedMatrixReader
baseCode.io.reader.StringMatrixReader
- public class StringMatrixReader
- extends AbstractNamedMatrixReader
Reader for StringMatrix2DNamed
Copyright (c) 2004
Institution:: Columbia University
- Version:
- $Id: StringMatrixReader.java,v 1.3 2004/08/11 22:53:43 pavlidis Exp $
- Author:
- Paul Pavlidis
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringMatrixReader
public StringMatrixReader()
read
public NamedMatrix read(java.lang.String filename)
throws java.io.IOException
- Specified by:
read in class AbstractNamedMatrixReader
- Throws:
java.io.IOException
read
public NamedMatrix read(java.io.InputStream stream)
throws java.io.IOException
- Missing values are entered as an empty string.
- Specified by:
read in class AbstractNamedMatrixReader
- Parameters:
stream - InputStream
- Returns:
- NamedMatrix
- Throws:
java.io.IOException
readOneRow
public NamedMatrix readOneRow(java.io.BufferedReader dis)
throws java.io.IOException
- Specified by:
readOneRow in class AbstractNamedMatrixReader
- Throws:
java.io.IOException
Copyright © 2003-2005 Columbia University. All Rights Reserved.