|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgridiq.poweranalysis.psat.parser.DemandParser
class DemandParser
Parses the Demand.con array in a PSAT data file and applies the properties to devices in the network.
| Constructor Summary | |
|---|---|
DemandParser()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getString(java.lang.Object object)
Serialises the given object into a string representation for writing to a network definition file. |
void |
parseLine(java.lang.String line,
Network network)
Parses a line of a network definition file by instantiating a network device described by the given string and adding it to the given network. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
DemandParser()
| Method Detail |
|---|
public void parseLine(java.lang.String line,
Network network)
throws ParseException
DeviceParser
parseLine in interface DeviceParserline - A line of a network definition file.network - The network to add the device to.
ParseExceptionpublic java.lang.String getString(java.lang.Object object)
DeviceParser
getString in interface DeviceParserobject - The network device to serialise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||