Uses of Class
io.github.cdimascio.dotenv.DotenvBuilder
Package | Description |
---|---|
io.github.cdimascio.dotenv |
Provides a system to manage environment variables using a .env file.
|
-
Uses of DotenvBuilder in io.github.cdimascio.dotenv
Methods in io.github.cdimascio.dotenv that return DotenvBuilder Modifier and Type Method Description static DotenvBuilder
Dotenv. configure()
Configures a newDotenv
instanceDotenvBuilder
DotenvBuilder. directory(java.lang.String path)
Sets the directory containing the .env fileDotenvBuilder
DotenvBuilder. filename(java.lang.String name)
Sets the name of the .env file.DotenvBuilder
DotenvBuilder. ignoreIfMalformed()
Does not throw an exception when .env is malformedDotenvBuilder
DotenvBuilder. ignoreIfMissing()
Does not throw an exception when .env is missingDotenvBuilder
DotenvBuilder. systemProperties()
Sets each environment variable as system properties