Package io.github.cdimascio.dotenv
Class DotenvEntry
- java.lang.Object
-
- io.github.cdimascio.dotenv.DotenvEntry
-
public class DotenvEntry extends Object
A key value pair representing an environment variable and its value
-
-
Constructor Summary
Constructors Constructor Description DotenvEntry(String key, String value)Creates a new dotenv entry using the provided key and value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()Returns the key for theDotenvEntryStringgetValue()Returns the value for theDotenvEntryStringtoString()
-
-
-
Method Detail
-
getKey
public String getKey()
Returns the key for theDotenvEntry- Returns:
- the key for the
DotenvEntry
-
getValue
public String getValue()
Returns the value for theDotenvEntry- Returns:
- the value for the
DotenvEntry
-
-