Package io.github.mihkels.dotenv
Class DotenvEntry
java.lang.Object
io.github.mihkels.dotenv.DotenvEntry
A key value pair representing an environment variable and its value
-
Constructor Summary
ConstructorsConstructorDescriptionDotenvEntry(String key, String value) Creates a new dotenv entry using the provided key and value -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the key for theDotenvEntrygetValue()Returns the value for theDotenvEntrytoString()
-
Constructor Details
-
DotenvEntry
Creates a new dotenv entry using the provided key and value- Parameters:
key- the dotenv entry namevalue- the dotenv entry value
-
-
Method Details
-
getKey
Returns the key for theDotenvEntry- Returns:
- the key for the
DotenvEntry
-
getValue
Returns the value for theDotenvEntry- Returns:
- the value for the
DotenvEntry
-
toString
-