Updated examples

This commit is contained in:
Erik C. Thauvin 2023-04-02 17:24:46 -07:00
parent bf0c9bf1fe
commit 26f0709562
4 changed files with 43 additions and 5 deletions

View file

@ -11,7 +11,10 @@ public class PropertyFileExampleMain {
final Path path = Paths.get("version.properties");
if (Files.exists(path)) {
final List<String> content = Files.readAllLines(path);
System.out.println("> cat " + path.getFileName());
System.out.println("""
+---------------------------+
| version.properties |
+---------------------------+""");
for (final String line : content) {
System.out.println(line);
}