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
Modifier and Type Method Description StringgetKey()Returns the key for theDotenvEntryStringgetValue()Returns the value for theDotenvEntryStringtoString()
-
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
-