public class FileReader
extends java.lang.Object
| Constructor and Description |
|---|
FileReader() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,Thermodynamics>> |
getLoadedData()
This method is called to get the loadedData of FileReader.
|
static java.util.HashMap<java.lang.String,Thermodynamics> |
readFile(java.io.File file)
stocks the thermodynamic parameters from the file in a HashMap.
|
public static java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.String,Thermodynamics>> getLoadedData()
public static java.util.HashMap<java.lang.String,Thermodynamics> readFile(java.io.File file) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
File - file : file containing the thermodynamic parameters to load.javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXException - If an IOException is catch, a FileException is thrown.