Class 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 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.