Class ExcelMatrixReader
- java.lang.Object
-
- repast.simphony.context.space.graph.ExcelMatrixReader
-
- All Implemented Interfaces:
NetworkMatrixReader
public class ExcelMatrixReader extends Object implements NetworkMatrixReader
- Author:
- Nick Collier Date: Apr 29, 2008 4:29:05 PM
-
-
Constructor Summary
Constructors Constructor Description ExcelMatrixReader(InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the reader.List<AdjacencyMatrix>
getMatrices()
Returns a list of the read AdjacencyMatrices.
-
-
-
Constructor Detail
-
ExcelMatrixReader
public ExcelMatrixReader(InputStream in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getMatrices
public List<AdjacencyMatrix> getMatrices() throws IOException
Returns a list of the read AdjacencyMatrices.- Specified by:
getMatrices
in interfaceNetworkMatrixReader
- Returns:
- a list of the read AdjacencyMatrices.
- Throws:
IOException
- if there is an error while attempting to read the matrices
-
close
public void close()
Description copied from interface:NetworkMatrixReader
Closes the reader.- Specified by:
close
in interfaceNetworkMatrixReader
-
-