|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgridiq.poweranalysis.psat.parser.PSATParser
public class PSATParser
A NetworkParser to handle PSAT data files.
| Field Summary | |
|---|---|
(package private) int |
lineNumber
|
| Constructor Summary | |
|---|---|
PSATParser()
|
|
| Method Summary | |
|---|---|
Network |
readNetworkFile(java.io.File networkFile)
Parses a network file into a Network object. |
SimResults |
readResults(java.io.File resultsFile)
Parses a simulation results file into a SimResults file. |
void |
writeNetwork(Network network,
java.io.File file)
Serialises a network to file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int lineNumber
| Constructor Detail |
|---|
public PSATParser()
| Method Detail |
|---|
public Network readNetworkFile(java.io.File networkFile)
throws java.io.IOException
NetworkParserNetwork object.
readNetworkFile in interface NetworkParsernetworkFile - The file to parse.
java.io.IOException
public void writeNetwork(Network network,
java.io.File file)
throws java.io.IOException
NetworkParserNetworkParser.readNetworkFile(java.io.File) method
to produce an identical network to that serialised using this method.
writeNetwork in interface NetworkParsernetwork - The network to serialise.file - The file to write the serialised network to.
java.io.IOException
public SimResults readResults(java.io.File resultsFile)
throws java.io.IOException
NetworkParserSimResults file.
readResults in interface NetworkParserresultsFile - The simulation results to parse.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||