Package org.kurento.commons
Class ConfigFileObject
java.lang.Object
org.kurento.commons.ConfigFileObject
Bean that stores a loaded configuration file.
- Since:
- 6.2.2
- Author:
- Radu Tom Vlad (rvlad@naevatec.com)
-
Constructor Summary
ConstructorsConstructorDescriptionConfigFileObject(Path configFilePath, com.google.gson.JsonObject configFile) -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.gson.JsonObjectReturn the contents of a config file, as JSON object.Returns the configuration file path.inthashCode()voidsetConfigFile(com.google.gson.JsonObject configFile) voidsetConfigFilePath(Path configFilePath)
-
Constructor Details
-
ConfigFileObject
-
-
Method Details
-
getConfigFilePath
Returns the configuration file path.- Returns:
- the
Pathof this configuration file
-
setConfigFilePath
-
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) -
hashCode
public int hashCode() -
equals
-