- get(envName) - Method in class io.github.cdimascio.dotenv.Dotenv
-
Returns the value for the specified environment variable
- get(envName, defValue) - Method in class io.github.cdimascio.dotenv.Dotenv
-
Returns the value for the environment variable, or the default value if absent
- getDirectory() - Method in class io.github.cdimascio.dotenv.Configuration
-
Set the directory containing the .env file
- getFilename() - Method in class io.github.cdimascio.dotenv.Configuration
-
Sets the name of the .env. The default is .env
- getIgnoreIfMalformed() - Method in class io.github.cdimascio.dotenv.Configuration
-
Do not throw an exception when .env is malformed
- getIgnoreIfMissing() - Method in class io.github.cdimascio.dotenv.Configuration
-
Do not throw an exception when .env is missing
- getKey() - Method in class io.github.cdimascio.dotenv.DotenvEntry
-
- getSystemProperties() - Method in class io.github.cdimascio.dotenv.Configuration
-
Set env vars into System properties. Enables fetch them via e.g. System.getProperty(...)
- getValue() - Method in class io.github.cdimascio.dotenv.DotenvEntry
-