public class ConfigLoader
extends java.lang.Object
Constructor and Description |
---|
ConfigLoader() |
Modifier and Type | Method and Description |
---|---|
static Configuration |
loadConfiguration(java.lang.String configPath)
Method to load the simulation configuration from the respective files in the configuration path
using a number of other loader classes for specific aspects of the simulation,
and compiles them in one object
|
public static Configuration loadConfiguration(java.lang.String configPath) throws java.io.IOException, java.lang.ClassCastException
configPath
- The (relative) path where the configuration files of the simulation liejava.io.IOException
- Will be thrown when another loader raises an IOExceptionjava.lang.ClassCastException
- Will be thrown when another loader raises a ClassCastException