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 Details

    • ConfigFileObject

      public ConfigFileObject(Path configFilePath, com.google.gson.JsonObject configFile)
  • Method Details

    • getConfigFilePath

      public Path getConfigFilePath()
      Returns the configuration file path.
      Returns:
      the Path of 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)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object