Package org.kurento.commons
Class ConfigFilePropertyHolder
- java.lang.Object
-
- org.kurento.commons.ConfigFilePropertyHolder
-
- All Implemented Interfaces:
PropertiesManager.PropertyHolder
public class ConfigFilePropertyHolder extends Object implements PropertiesManager.PropertyHolder
-
-
Constructor Summary
Constructors Constructor Description ConfigFilePropertyHolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidconfigurePropertiesFromConfigFile(Path configFilePath)List<ConfigFileObject>getLoadedConfigFiles()StringgetProperty(String property)
-
-
-
Method Detail
-
configurePropertiesFromConfigFile
public static void configurePropertiesFromConfigFile(Path configFilePath) throws com.google.gson.JsonSyntaxException, com.google.gson.JsonIOException, IOException
- Throws:
com.google.gson.JsonSyntaxExceptioncom.google.gson.JsonIOExceptionIOException
-
getProperty
public String getProperty(String property)
- Specified by:
getPropertyin interfacePropertiesManager.PropertyHolder
-
getLoadedConfigFiles
public List<ConfigFileObject> getLoadedConfigFiles()
-
-