|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Parser
Interface that should be implemented by any type of parser created for use in this library.
| Method Summary | |
|---|---|
PowerSystem |
loadPowerSystemFromFile(java.lang.String file)
This method should perform the operations necessary to parse the given file and from the parsed data create a new power system. |
void |
writePowerSystemToFile(PowerSystem powerSystem,
java.lang.String file)
This method should perform the operations necessary to write the data contained in the given power system to the given file in the correct format. |
| Method Detail |
|---|
PowerSystem loadPowerSystemFromFile(java.lang.String file)
file - Data file to be parsed
void writePowerSystemToFile(PowerSystem powerSystem,
java.lang.String file)
powerSystem - PowerSystem object from which to create the data filefile - Location of data file to be created from power system
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||