spis.Util.io
Class circuitReader
java.lang.Object
spis.Util.io.circuitReader
- public class circuitReader
- extends java.lang.Object
Class Name : circuitReader
Project ref : SPIS project
File name : circuitReader.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 27/09/2004
Modification :
Description : reader of electric circuit
File format is, for each line: component_type node1 node2 value
as can be seen on the example:
R 0 1 1.0e6
C 0 2 1.e-6
L 2 3 1.e-3
V 0 4 -10
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
- Version:
- 0.1
- Author:
- JF Roussel
Constructor Summary |
circuitReader(java.lang.String fileName)
Default constructor |
Method Summary |
java.util.Vector |
readFile()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
circuitReader
public circuitReader(java.lang.String fileName)
- Default constructor
- Parameters:
fileName
-
readFile
public java.util.Vector readFile()
- Returns:
- the vector of components constituting the circuit read