We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example .env file:
.env
key1=value1 key2="value2" key3='value3'
Usage code:
Dotenv dotenv = Dotenv.load(); System.out.println(dotenv.get("key1")); System.out.println(dotenv.get("key2")); System.out.println(dotenv.get("key3"));
Output:
value1 value2 'value3'
The single quotes around value3 were not removed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example
.env
file:Usage code:
Output:
The single quotes around value3 were not removed.
The text was updated successfully, but these errors were encountered: