Package org.kurento.commons
Class ConfigFileObject
- java.lang.Object
-
- org.kurento.commons.ConfigFileObject
-
public class ConfigFileObject extends Object
Bean that stores a loaded configuration file.- Since:
- 6.2.2
- Author:
- Radu Tom Vlad (rvlad@naevatec.com)
-
-
Constructor Summary
Constructors Constructor Description ConfigFileObject(Path configFilePath, com.google.gson.JsonObject configFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.gson.JsonObjectgetConfigFile()Return the contents of a config file, as JSON object.PathgetConfigFilePath()Returns the configuration file path.inthashCode()voidsetConfigFile(com.google.gson.JsonObject configFile)voidsetConfigFilePath(Path configFilePath)
-
-
-
Constructor Detail
-
ConfigFileObject
public ConfigFileObject(Path configFilePath, com.google.gson.JsonObject configFile)
-
-
Method Detail
-
getConfigFilePath
public Path getConfigFilePath()
Returns the configuration file path.- Returns:
- the
Pathof this configuration file
-
setConfigFilePath
public void setConfigFilePath(Path configFilePath)
-
getConfigFile
public com.google.gson.JsonObject getConfigFile()
Return the contents of a config file, as JSON object.- Returns:
- the contents of the file as a
JsonObject
-
setConfigFile
public void setConfigFile(com.google.gson.JsonObject configFile)
-
-