Package com.oracle.bmc
Class ConfigFileReader.ConfigFile
- java.lang.Object
-
- com.oracle.bmc.ConfigFileReader.ConfigFile
-
- Enclosing class:
- ConfigFileReader
public static final class ConfigFileReader.ConfigFile extends Object
ConfigFile represents a simple lookup mechanism for a OCI config file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(String key)
Gets the value associated with a given key.String
toString()
-
-
-
Method Detail
-
get
public String get(String key)
Gets the value associated with a given key.The value returned will be the one for the selected profile (if available), else the value in the DEFAULT profile (if specified), else null.
- Parameters:
key
- The key to look up.- Returns:
- The value, or null if it didn’t exist.
-
-