public class ResultsCollection
extends java.lang.Object
| Constructor and Description |
|---|
ResultsCollection() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.Integer,ResultsSet> |
getResults()
Method to get results map.
|
static ResultsCollection |
loadXML(java.io.InputStream stream)
Method to load results collection from stream.
|
static ResultsCollection |
loadXML(java.lang.String file)
Method to load results collection from xml file.
|
void |
setResults(java.util.Map<java.lang.Integer,ResultsSet> results)
Method to set results map.
|
java.io.ByteArrayOutputStream |
toStream()
Method to create output stream.
|
void |
writeXML(java.lang.String file)
Method to write results collection to xml file.
|
public java.util.Map<java.lang.Integer,ResultsSet> getResults()
public void setResults(java.util.Map<java.lang.Integer,ResultsSet> results)
results - Map of simulation period - results setpublic void writeXML(java.lang.String file)
throws javax.xml.bind.JAXBException
file - Output file namejavax.xml.bind.JAXBExceptionpublic java.io.ByteArrayOutputStream toStream()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static ResultsCollection loadXML(java.lang.String file) throws javax.xml.bind.JAXBException, java.io.FileNotFoundException
file - Input file namejavax.xml.bind.JAXBExceptionjava.io.FileNotFoundExceptionpublic static ResultsCollection loadXML(java.io.InputStream stream) throws javax.xml.bind.JAXBException, java.io.FileNotFoundException
stream - Input streamjavax.xml.bind.JAXBExceptionjava.io.FileNotFoundException