Index
All Classes|All Packages
C
- ClasspathHelper - Class in io.github.cdimascio.dotenv.internal
-
Classpath helper
- ClasspathHelper() - Constructor for class io.github.cdimascio.dotenv.internal.ClasspathHelper
- configure() - Static method in interface io.github.cdimascio.dotenv.Dotenv
-
Configures a new
Dotenv
instance
D
- DECLARED_IN_ENV_FILE - io.github.cdimascio.dotenv.Dotenv.Filter
-
Filter matching only environment variables declared in the .env file
- directory(String) - Method in class io.github.cdimascio.dotenv.DotenvBuilder
-
Sets the directory containing the .env file.
- Dotenv - Interface in io.github.cdimascio.dotenv
-
Creates and configures a new Dotenv instance
- Dotenv.Filter - Enum in io.github.cdimascio.dotenv
-
A dotenv entry filter
- DotenvBuilder - Class in io.github.cdimascio.dotenv
-
Builds and loads and
Dotenv
instance. - DotenvBuilder() - Constructor for class io.github.cdimascio.dotenv.DotenvBuilder
- DotenvEntry - Class in io.github.cdimascio.dotenv
-
A key value pair representing an environment variable and its value
- DotenvEntry(String, String) - Constructor for class io.github.cdimascio.dotenv.DotenvEntry
-
Creates a new dotenv entry using the provided key and value
- DotenvException - Exception in io.github.cdimascio.dotenv
-
Signals that dotenv exception of some sort has occurred.
- DotenvException(String) - Constructor for exception io.github.cdimascio.dotenv.DotenvException
-
Create a dotenv runtime exception with the specified detail message
- DotenvException(Throwable) - Constructor for exception io.github.cdimascio.dotenv.DotenvException
-
Creates a dotenv runtime exception
- DotenvParser - Class in io.github.cdimascio.dotenv.internal
-
(Internal) Parses .env file
- DotenvParser(DotenvReader, boolean, boolean) - Constructor for class io.github.cdimascio.dotenv.internal.DotenvParser
-
Creates a dotenv parser
- DotenvReader - Class in io.github.cdimascio.dotenv.internal
-
(Internal) Reads a .env file
- DotenvReader(String, String) - Constructor for class io.github.cdimascio.dotenv.internal.DotenvReader
-
Creates a dotenv reader
E
- entries() - Method in interface io.github.cdimascio.dotenv.Dotenv
-
Returns the set of environment variables with values
- entries(Dotenv.Filter) - Method in interface io.github.cdimascio.dotenv.Dotenv
-
Returns the set of
DotenvEntry
s matching the filter
F
- filename(String) - Method in class io.github.cdimascio.dotenv.DotenvBuilder
-
Sets the name of the .env file.
G
- get(String) - Method in interface io.github.cdimascio.dotenv.Dotenv
-
Retrieves the value of the environment variable specified by key
- get(String, String) - Method in interface io.github.cdimascio.dotenv.Dotenv
-
Retrieves the value of the environment variable specified by key.
- getKey() - Method in class io.github.cdimascio.dotenv.DotenvEntry
-
Returns the key for the
DotenvEntry
- getValue() - Method in class io.github.cdimascio.dotenv.DotenvEntry
-
Returns the value for the
DotenvEntry
I
- ignoreIfMalformed() - Method in class io.github.cdimascio.dotenv.DotenvBuilder
-
Does not throw an exception when .env is malformed.
- ignoreIfMissing() - Method in class io.github.cdimascio.dotenv.DotenvBuilder
-
Does not throw an exception when .env is missing.
- io.github.cdimascio.dotenv - package io.github.cdimascio.dotenv
-
Provides a system to manage environment variables using a .env file.
- io.github.cdimascio.dotenv.internal - package io.github.cdimascio.dotenv.internal
-
Provides a set of internal helpers for dotenv (not for external use).
L
- load() - Static method in interface io.github.cdimascio.dotenv.Dotenv
-
Creates and loads a
Dotenv
instance with default options - load() - Method in class io.github.cdimascio.dotenv.DotenvBuilder
-
Load the contents of .env into the virtual environment.
P
- parse() - Method in class io.github.cdimascio.dotenv.internal.DotenvParser
-
(Internal) parse the .env file
R
- read() - Method in class io.github.cdimascio.dotenv.internal.DotenvReader
-
(Internal) Reads the .env file
S
- systemProperties() - Method in class io.github.cdimascio.dotenv.DotenvBuilder
-
Sets each environment variable as system properties.
T
- toString() - Method in class io.github.cdimascio.dotenv.DotenvEntry
V
- valueOf(String) - Static method in enum io.github.cdimascio.dotenv.Dotenv.Filter
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.cdimascio.dotenv.Dotenv.Filter
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes|All Packages