Package org.opennms.nephron.generator
Class Generator
- java.lang.Object
-
- org.opennms.nephron.generator.Generator
-
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SimulationfromFile(File file)static SimulationfromJson(String json)static voidmain(String... args)
-
-
-
Method Detail
-
fromFile
public static Simulation fromFile(File file) throws javax.xml.bind.JAXBException, FileNotFoundException
- Throws:
javax.xml.bind.JAXBExceptionFileNotFoundException
-
fromJson
public static Simulation fromJson(String json) throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
-
-