88import static java .util .stream .Collectors .*;
99
1010/**
11- * Builds and loads and {@link Dotenv} instance
11+ * Builds and loads and {@link Dotenv} instance.
1212 * @see Dotenv#configure()
1313 */
1414public class DotenvBuilder {
@@ -19,7 +19,7 @@ public class DotenvBuilder {
1919 private boolean throwIfMalformed = true ;
2020
2121 /**
22- * Sets the directory containing the .env file
22+ * Sets the directory containing the .env file.
2323 * @param path the directory containing the .env file
2424 * @return this {@link DotenvBuilder}
2525 */
@@ -28,7 +28,7 @@ public DotenvBuilder directory(String path) {
2828 return this ;
2929 }
3030 /**
31- * Sets the name of the .env file. The default is .env
31+ * Sets the name of the .env file. The default is .env.
3232 * @param name the filename
3333 * @return this {@link DotenvBuilder}
3434 */
@@ -38,7 +38,7 @@ public DotenvBuilder filename(String name) {
3838 }
3939
4040 /**
41- * Does not throw an exception when .env is missing
41+ * Does not throw an exception when .env is missing.
4242 * @return this {@link DotenvBuilder}
4343 */
4444 public DotenvBuilder ignoreIfMissing () {
@@ -47,7 +47,7 @@ public DotenvBuilder ignoreIfMissing() {
4747 }
4848
4949 /**
50- * Does not throw an exception when .env is malformed
50+ * Does not throw an exception when .env is malformed.
5151 * @return this {@link DotenvBuilder}
5252 */
5353 public DotenvBuilder ignoreIfMalformed () {
@@ -56,7 +56,7 @@ public DotenvBuilder ignoreIfMalformed() {
5656 }
5757
5858 /**
59- * Sets each environment variable as system properties
59+ * Sets each environment variable as system properties.
6060 * @return this {@link DotenvBuilder}
6161 */
6262 public DotenvBuilder systemProperties () {
@@ -65,7 +65,7 @@ public DotenvBuilder systemProperties() {
6565 }
6666
6767 /**
68- * Load the contents of .env into the virtual environment
68+ * Load the contents of .env into the virtual environment.
6969 * @return a new {@link Dotenv} instance
7070 * @throws DotenvException when an error occurs
7171 */
0 commit comments