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