baseCode.io.reader
Class StringMatrixReader

java.lang.Object
  extended bybaseCode.io.reader.AbstractNamedMatrixReader
      extended bybaseCode.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

Field Summary
 
Fields inherited from class baseCode.io.reader.AbstractNamedMatrixReader
log
 
Constructor Summary
StringMatrixReader()
           
 
Method Summary
 NamedMatrix read(java.io.InputStream stream)
          Missing values are entered as an empty string.
 NamedMatrix read(java.lang.String filename)
           
 NamedMatrix readOneRow(java.io.BufferedReader dis)
           
 
Methods inherited from class baseCode.io.reader.AbstractNamedMatrixReader
readHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMatrixReader

public StringMatrixReader()
Method Detail

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.